This is the analysis script to prepare the data to run analyses for the project “Anxiety, depression and trauma symptom change during the COVID-19 pandemic: retrospective versus objective assessment” - Young et al (2020)

Script written by K Purves, K Thompson, C Huebel and M Davies. Email: , , ,

#Set up

Clear global environment

Retrieve the current date to use it for file endings to not overwrite files when one exports files

#Packages Install packages (if they are not available in your version of R)

Load packages

Registered S3 method overwritten by 'pryr':
  method      from
  print.bytes Rcpp

Attaching package: 'polycor'
The following object is masked from 'package:psych':

    polyserial
corrplot 0.84 loaded
── Attaching packages ──────────────────────────────────────────────────────────────────────────────────── tidyverse 1.3.0 ──
✓ ggplot2 3.3.2     ✓ purrr   0.3.4
✓ tibble  3.0.3     ✓ dplyr   1.0.1
✓ tidyr   1.1.1     ✓ stringr 1.4.0
✓ readr   1.3.1     ✓ forcats 0.5.0
── Conflicts ─────────────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
x ggplot2::%+%()   masks psych::%+%()
x ggplot2::alpha() masks psych::alpha()
x dplyr::filter()  masks stats::filter()
x dplyr::lag()     masks stats::lag()
x tibble::view()   masks summarytools::view()

Colour palettes

Define colours for plotting this are the standard coping colours

Choose in this chunk which palette to use 04.07.2020 - Default to 2 colour COPING palette

Data import

Source data file paths

Read in data

[1] 63266   493
  [1] "Sample"                                                          
  [2] "ID"                                                              
  [3] "startDate.prepandemic"                                           
  [4] "Age_uncleaned"                                                   
  [5] "Gender_unc"                                                      
  [6] "Sex"                                                             
  [7] "EduYrs"                                                          
  [8] "demographics.college_or_university_degree"                       
  [9] "demographics.a_levelsas_levels_or_equivalent"                    
 [10] "demographics.o_levelsgcses_or_equivalent"                        
 [11] "demographics.cses_or_equivalent"                                 
 [12] "demographics.nvq_or_hnd_or_hnc_or_equivalent"                    
 [13] "Ethnicity_unc"                                                   
 [14] "Gender_numeric"                                                  
 [15] "Sex_numeric"                                                     
 [16] "demographics.college_or_university_degree_numeric"               
 [17] "demographics.a_levelsas_levels_or_equivalent_numeric"            
 [18] "demographics.o_levelsgcses_or_equivalent_numeric"                
 [19] "demographics.cses_or_equivalent_numeric"                         
 [20] "demographics.nvq_or_hnd_or_hnc_or_equivalent_numeric"            
 [21] "Ethnicity_numeric"                                               
 [22] "Gender"                                                          
 [23] "Ethnicity"                                                       
 [24] "Age"                                                             
 [25] "age_category_numeric"                                            
 [26] "age_category"                                                    
 [27] "highest_education_prepan_numeric"                                
 [28] "highest_education_prepan"                                        
 [29] "employment.phd"                                                  
 [30] "employment.masters_degree_or_equivalent"                         
 [31] "employment.postgraduate_degree_or_equivalent"                    
 [32] "employment.bachelors_degree_or_equivalent"                       
 [33] "employment.a_levelsas_levels_or_equivalent"                      
 [34] "employment.o_levelsgcses_or_equivalent"                          
 [35] "employment.cses_or_equivalent"                                   
 [36] "employment.nvq_or_hnd_or_hnc_or_equivalent"                      
 [37] "employment.government_work_key_workers"                          
 [38] "employment.unemployed"                                           
 [39] "employment.zerohours_contract"                                   
 [40] "employment.stayathome_parent_or_carer"                           
 [41] "employment.retired"                                              
 [42] "employment.student_gcse_or_a_level"                              
 [43] "employment.student_university"                                   
 [44] "employment.became_unemployed"                                    
 [45] "employment.furloughed_or_paid_leave_government_funded"           
 [46] "employment.furloughed_or_paid_leave_company_funded"              
 [47] "employment.paid_leave_furloughed"                                
 [48] "employment.phd_numeric"                                          
 [49] "employment.masters_degree_or_equivalent_numeric"                 
 [50] "employment.postgraduate_degree_or_equivalent_numeric"            
 [51] "employment.bachelors_degree_or_equivalent_numeric"               
 [52] "employment.a_levelsas_levels_or_equivalent_numeric"              
 [53] "employment.o_levelsgcses_or_equivalent_numeric"                  
 [54] "employment.cses_or_equivalent_numeric"                           
 [55] "employment.nvq_or_hnd_or_hnc_or_equivalent_numeric"              
 [56] "employment.government_work_key_workers_numeric"                  
 [57] "employment.unemployed_numeric"                                   
 [58] "employment.zerohours_contract_numeric"                           
 [59] "employment.stayathome_parent_or_carer_numeric"                   
 [60] "employment.retired_numeric"                                      
 [61] "employment.student_gcse_or_a_level_numeric"                      
 [62] "employment.student_university_numeric"                           
 [63] "employment.became_unemployed_numeric"                            
 [64] "employment.furloughed_or_paid_leave_government_funded_numeric"   
 [65] "employment.furloughed_or_paid_leave_company_funded_numeric"      
 [66] "employment.paid_leave_furloughed_numeric"                        
 [67] "highest_education_numeric"                                       
 [68] "highest_education"                                               
 [69] "key_worker_numeric"                                              
 [70] "key_worker"                                                      
 [71] "anxiety_disorders_numeric"                                       
 [72] "anxiety_disorders"                                               
 [73] "mhd.specific_phobia_e.g._phobia_of_flying_numeric"               
 [74] "mhd.specific_phobia_e.g._phobia_of_flying"                       
 [75] "mhd.social_anxiety_or_social_phobia_numeric"                     
 [76] "mhd.social_anxiety_or_social_phobia"                             
 [77] "agoraphobia_panic_disorder_numeric"                              
 [78] "agoraphobia_panic_disorder"                                      
 [79] "depressive_disorders_numeric"                                    
 [80] "depressive_disorders"                                            
 [81] "eating_disorders_numeric"                                        
 [82] "eating_disorders"                                                
 [83] "obsessive_compulsive_disorders_numeric"                          
 [84] "obsessive_compulsive_disorders"                                  
 [85] "psychotic_disorders_numeric"                                     
 [86] "psychotic_disorders"                                             
 [87] "mhd.mania_hypomania_bipolar_or_manicdepression_numeric"          
 [88] "mhd.mania_hypomania_bipolar_or_manicdepression"                  
 [89] "mhd.posttraumatic_stress_disorder_ptsd_numeric"                  
 [90] "mhd.posttraumatic_stress_disorder_ptsd"                          
 [91] "autism_spectrum_disorder_numeric"                                
 [92] "autism_spectrum_disorder"                                        
 [93] "mhd.attention_deficit_hyperactivity_disorder_numeric"            
 [94] "mhd.attention_deficit_hyperactivity_disorder"                    
 [95] "mhd.personality_disorder_numeric"                                
 [96] "mhd.personality_disorder"                                        
 [97] "personality_cluster_a_numeric"                                   
 [98] "personality_cluster_a"                                           
 [99] "personality_cluster_b_numeric"                                   
[100] "personality_cluster_b"                                           
[101] "personality_cluster_c_numeric"                                   
[102] "personality_cluster_c"                                           
[103] "depression_and_anxiety_numeric"                                  
[104] "depression_and_anxiety"                                          
[105] "restricting_vs_binge_eating_eating_disorders_numeric"            
[106] "restricting_vs_binge_eating_eating_disorders"                    
[107] "bipolar_and_schizophrenia_numeric"                               
[108] "bipolar_and_schizophrenia"                                       
[109] "control_numeric"                                                 
[110] "control"                                                         
[111] "disorders_total_count"                                           
[112] "comorbidity_total_count_numeric"                                 
[113] "comorbidity_total_count_factor_numeric"                          
[114] "comorbidity_total_count_factor"                                  
[115] "mhd.none_of_the_above"                                           
[116] "mhd.none_of_the_above.1"                                         
[117] "gad.feeling_nervous_anxious_or_on_edge_prepan"                   
[118] "gad.control_worrying_stop_prepan"                                
[119] "gad.worrying_too_much_about_different_things_prepan"             
[120] "gad.trouble_relaxing_prepan"                                     
[121] "gad.sit_restless_hard_prepan"                                    
[122] "gad.becoming_easily_annoyed_or_irritable_prepan"                 
[123] "gad.awful_feeling_afraid_happen_prepan"                          
[124] "gad.feeling_nervous_anxious_or_on_edge_prepan_numeric"           
[125] "gad.control_worrying_stop_prepan_numeric"                        
[126] "gad.worrying_too_much_about_different_things_prepan_numeric"     
[127] "gad.trouble_relaxing_prepan_numeric"                             
[128] "gad.sit_restless_hard_prepan_numeric"                            
[129] "gad.becoming_easily_annoyed_or_irritable_prepan_numeric"         
[130] "gad.awful_feeling_afraid_happen_prepan_numeric"                  
[131] "gad.sum_score_prepan_raw"                                        
[132] "na_per_person_gad_prepan"                                        
[133] "gad.sum_score_prepan"                                            
[134] "pcl.stressful_experience_repeated_images_prepan"                 
[135] "pcl.stressful_experience_upset_reminded_prepan"                  
[136] "pcl.stressful_situation_avoiding_activities_prepan"              
[137] "pcl.cut_people_feeling_distant_prepan"                           
[138] "pcl.feeling_irritable_or_having_angry_outbursts_prepan"          
[139] "pcl.difficulty_concentrating_prepan"                             
[140] "pcl.stressful_experience_repeated_images_prepan_numeric"         
[141] "pcl.stressful_experience_upset_reminded_prepan_numeric"          
[142] "pcl.stressful_situation_avoiding_activities_prepan_numeric"      
[143] "pcl.cut_people_feeling_distant_prepan_numeric"                   
[144] "pcl.feeling_irritable_or_having_angry_outbursts_prepan_numeric"  
[145] "pcl.difficulty_concentrating_prepan_numeric"                     
[146] "pcl.sum_score_prepan_raw"                                        
[147] "na_per_person_pcl_prepan"                                        
[148] "pcl.sum_score_prepan"                                            
[149] "phq.little_interest_or_pleasure_in_doing_things_prepan"          
[150] "phq.feeling_down_depressed_or_hopeless_prepan"                   
[151] "phq.staying_asleep_sleeping_trouble_prepan"                      
[152] "phq.feeling_tired_or_having_little_energy_prepan"                
[153] "phq.poor_appetite_or_overeating_prepan"                          
[154] "phq.feeling_bad_failure_family_prepan"                           
[155] "phq.trouble_concentrating_reading_newspaper_prepan"              
[156] "phq.moving_fidgety_noticed_opposite_prepan"                      
[157] "phq.dead_hurting_thoughts_prepan"                                
[158] "phq.little_interest_or_pleasure_in_doing_things_prepan_numeric"  
[159] "phq.feeling_down_depressed_or_hopeless_prepan_numeric"           
[160] "phq.staying_asleep_sleeping_trouble_prepan_numeric"              
[161] "phq.feeling_tired_or_having_little_energy_prepan_numeric"        
[162] "phq.poor_appetite_or_overeating_prepan_numeric"                  
[163] "phq.feeling_bad_failure_family_prepan_numeric"                   
[164] "phq.trouble_concentrating_reading_newspaper_prepan_numeric"      
[165] "phq.moving_fidgety_noticed_opposite_prepan_numeric"              
[166] "phq.dead_hurting_thoughts_prepan_numeric"                        
[167] "phq.sum_score_prepan_raw"                                        
[168] "na_per_person_phq_prepan"                                        
[169] "phq.missing_only_suicide_item_prepan"                            
[170] "phq.sum_score_prepan"                                            
[171] "phq.sum_score_8items_prepan"                                     
[172] "ocir.i_repeatedly_check_doors_windows_drawers_etc_prepan"        
[173] "ocir.arranged_things_change_upset_prepan"                        
[174] "ocir.repeat_feel_numbers_prepan"                                 
[175] "ocir.clean_simply_wash_feel_prepan"                              
[176] "ocir.mind_upset_unpleasant_thoughts_prepan"                      
[177] "ocir.afraid_avoid_throwing_things_prepan"                        
[178] "ocir.light_switches_water_taps_prepan"                           
[179] "ocir.arranged_things_prepan"                                     
[180] "ocir.good_feel_bad_numbers_prepan"                               
[181] "ocir.hands_longer_wash_prepan"                                   
[182] "ocir.saved_things_prepan"                                        
[183] "ocir.frequently_difficulty_rid_nasty_prepan"                     
[184] "ocir.i_check_things_more_often_than_necessary_prepan"            
[185] "ocir.arranged_properly_objects_upset_prepan"                     
[186] "ocir.feel_compelled_count_things_prepan"                         
[187] "ocir.strangers_touch_touched_difficult_prepan"                   
[188] "ocir.control_difficult_find_thoughts_prepan"                     
[189] "ocir.i_collect_things_i_dont_need_prepan"                        
[190] "ocir.i_repeatedly_check_doors_windows_drawers_etc_prepan_numeric"
[191] "ocir.arranged_things_change_upset_prepan_numeric"                
[192] "ocir.repeat_feel_numbers_prepan_numeric"                         
[193] "ocir.clean_simply_wash_feel_prepan_numeric"                      
[194] "ocir.mind_upset_unpleasant_thoughts_prepan_numeric"              
[195] "ocir.afraid_avoid_throwing_things_prepan_numeric"                
[196] "ocir.light_switches_water_taps_prepan_numeric"                   
[197] "ocir.arranged_things_prepan_numeric"                             
[198] "ocir.good_feel_bad_numbers_prepan_numeric"                       
[199] "ocir.hands_longer_wash_prepan_numeric"                           
[200] "ocir.saved_things_prepan_numeric"                                
[201] "ocir.frequently_difficulty_rid_nasty_prepan_numeric"             
[202] "ocir.i_check_things_more_often_than_necessary_prepan_numeric"    
[203] "ocir.arranged_properly_objects_upset_prepan_numeric"             
[204] "ocir.feel_compelled_count_things_prepan_numeric"                 
[205] "ocir.strangers_touch_touched_difficult_prepan_numeric"           
[206] "ocir.control_difficult_find_thoughts_prepan_numeric"             
[207] "ocir.i_collect_things_i_dont_need_prepan_numeric"                
[208] "ocir.sum_score_prepan_raw"                                       
[209] "na_per_person_ocir_prepan"                                       
[210] "ocir.sum_score_prepan"                                           
[211] "startDate.coping"                                                
[212] "gad.problems_made_difficult_care"                                
[213] "gad.pandemic_felt_feelings"                                      
[214] "gad.feeling_nervous_anxious_or_on_edge_retro"                    
[215] "gad.control_worrying_stop_retro"                                 
[216] "gad.worrying_too_much_about_different_things_retro"              
[217] "gad.trouble_relaxing_retro"                                      
[218] "gad.sit_restless_hard_retro"                                     
[219] "gad.becoming_easily_annoyed_or_irritable_retro"                  
[220] "gad.awful_feeling_afraid_happen_retro"                           
[221] "gad.feeling_nervous_anxious_or_on_edge_base"                     
[222] "gad.control_worrying_stop_base"                                  
[223] "gad.worrying_too_much_about_different_things_base"               
[224] "gad.trouble_relaxing_base"                                       
[225] "gad.sit_restless_hard_base"                                      
[226] "gad.becoming_easily_annoyed_or_irritable_base"                   
[227] "gad.awful_feeling_afraid_happen_base"                            
[228] "gad.problems_made_difficult_care_numeric"                        
[229] "gad.pandemic_felt_feelings_numeric"                              
[230] "gad.feeling_nervous_anxious_or_on_edge_retro_numeric"            
[231] "gad.control_worrying_stop_retro_numeric"                         
[232] "gad.worrying_too_much_about_different_things_retro_numeric"      
[233] "gad.trouble_relaxing_retro_numeric"                              
[234] "gad.sit_restless_hard_retro_numeric"                             
[235] "gad.becoming_easily_annoyed_or_irritable_retro_numeric"          
[236] "gad.awful_feeling_afraid_happen_retro_numeric"                   
[237] "gad.feeling_nervous_anxious_or_on_edge_base_numeric"             
[238] "gad.control_worrying_stop_base_numeric"                          
[239] "gad.worrying_too_much_about_different_things_base_numeric"       
[240] "gad.trouble_relaxing_base_numeric"                               
[241] "gad.sit_restless_hard_base_numeric"                              
[242] "gad.becoming_easily_annoyed_or_irritable_base_numeric"           
[243] "gad.awful_feeling_afraid_happen_base_numeric"                    
[244] "gad.sum_score_retro_raw"                                         
[245] "gad.sum_score_base_raw"                                          
[246] "na_per_person_gad_base"                                          
[247] "na_per_person_gad_retro"                                         
[248] "gad.sum_score_base"                                              
[249] "gad.sum_score_retro"                                             
[250] "pcl.stressful_experience_repeated_images_base"                   
[251] "pcl.stressful_experience_upset_reminded_base"                    
[252] "pcl.stressful_situation_avoiding_activities_base"                
[253] "pcl.cut_people_feeling_distant_base"                             
[254] "pcl.feeling_irritable_or_having_angry_outbursts_base"            
[255] "pcl.difficulty_concentrating_base"                               
[256] "pcl.stressful_experience_repeated_images_retro"                  
[257] "pcl.stressful_experience_upset_reminded_retro"                   
[258] "pcl.stressful_situation_avoiding_activities_retro"               
[259] "pcl.cut_people_feeling_distant_retro"                            
[260] "pcl.feeling_irritable_or_having_angry_outbursts_retro"           
[261] "pcl.difficulty_concentrating_retro"                              
[262] "pcl.stressful_experience_repeated_images_base_numeric"           
[263] "pcl.stressful_experience_upset_reminded_base_numeric"            
[264] "pcl.stressful_situation_avoiding_activities_base_numeric"        
[265] "pcl.cut_people_feeling_distant_base_numeric"                     
[266] "pcl.feeling_irritable_or_having_angry_outbursts_base_numeric"    
[267] "pcl.difficulty_concentrating_base_numeric"                       
[268] "pcl.stressful_experience_repeated_images_retro_numeric"          
[269] "pcl.stressful_experience_upset_reminded_retro_numeric"           
[270] "pcl.stressful_situation_avoiding_activities_retro_numeric"       
[271] "pcl.cut_people_feeling_distant_retro_numeric"                    
[272] "pcl.feeling_irritable_or_having_angry_outbursts_retro_numeric"   
[273] "pcl.difficulty_concentrating_retro_numeric"                      
[274] "pcl.sum_score_retro_raw"                                         
[275] "pcl.sum_score_base_raw"                                          
[276] "na_per_person_pcl_base"                                          
[277] "na_per_person_pcl_retro"                                         
[278] "pcl.sum_score_base"                                              
[279] "pcl.sum_score_retro"                                             
[280] "phq.problems_made_difficult_care"                                
[281] "phq.pandemic_felt_feelings"                                      
[282] "phq.little_interest_or_pleasure_in_doing_things_retro"           
[283] "phq.feeling_down_depressed_or_hopeless_retro"                    
[284] "phq.staying_asleep_sleeping_trouble_retro"                       
[285] "phq.feeling_tired_or_having_little_energy_retro"                 
[286] "phq.poor_appetite_or_overeating_retro"                           
[287] "phq.feeling_bad_failure_family_retro"                            
[288] "phq.trouble_concentrating_reading_newspaper_retro"               
[289] "phq.moving_fidgety_noticed_opposite_retro"                       
[290] "phq.dead_hurting_thoughts_retro"                                 
[291] "phq.little_interest_or_pleasure_in_doing_things_base"            
[292] "phq.feeling_down_depressed_or_hopeless_base"                     
[293] "phq.staying_asleep_sleeping_trouble_base"                        
[294] "phq.feeling_tired_or_having_little_energy_base"                  
[295] "phq.poor_appetite_or_overeating_base"                            
[296] "phq.feeling_bad_failure_family_base"                             
[297] "phq.trouble_concentrating_reading_newspaper_base"                
[298] "phq.moving_fidgety_noticed_opposite_base"                        
[299] "phq.dead_hurting_thoughts_base"                                  
[300] "phq.problems_made_difficult_care_numeric"                        
[301] "phq.pandemic_felt_feelings_numeric"                              
[302] "phq.little_interest_or_pleasure_in_doing_things_retro_numeric"   
[303] "phq.feeling_down_depressed_or_hopeless_retro_numeric"            
[304] "phq.staying_asleep_sleeping_trouble_retro_numeric"               
[305] "phq.feeling_tired_or_having_little_energy_retro_numeric"         
[306] "phq.poor_appetite_or_overeating_retro_numeric"                   
[307] "phq.feeling_bad_failure_family_retro_numeric"                    
[308] "phq.trouble_concentrating_reading_newspaper_retro_numeric"       
[309] "phq.moving_fidgety_noticed_opposite_retro_numeric"               
[310] "phq.dead_hurting_thoughts_retro_numeric"                         
[311] "phq.little_interest_or_pleasure_in_doing_things_base_numeric"    
[312] "phq.feeling_down_depressed_or_hopeless_base_numeric"             
[313] "phq.staying_asleep_sleeping_trouble_base_numeric"                
[314] "phq.feeling_tired_or_having_little_energy_base_numeric"          
[315] "phq.poor_appetite_or_overeating_base_numeric"                    
[316] "phq.feeling_bad_failure_family_base_numeric"                     
[317] "phq.trouble_concentrating_reading_newspaper_base_numeric"        
[318] "phq.moving_fidgety_noticed_opposite_base_numeric"                
[319] "phq.dead_hurting_thoughts_base_numeric"                          
[320] "phq.sum_score_retro_raw"                                         
[321] "phq.sum_score_base_raw"                                          
[322] "na_per_person_phq_retro"                                         
[323] "phq.missing_only_suicide_item_retro"                             
[324] "na_per_person_phq_base"                                          
[325] "phq.missing_only_suicide_item_base"                              
[326] "phq.sum_score_base"                                              
[327] "phq.sum_score_8items_base"                                       
[328] "phq.sum_score_retro"                                             
[329] "phq.sum_score_8items_retro"                                      
[330] "ocir.felt_pandemic_feelings"                                     
[331] "ocir.i_repeatedly_check_doors_windows_drawers_etc_retro"         
[332] "ocir.arranged_things_change_upset_retro"                         
[333] "ocir.repeat_feel_numbers_retro"                                  
[334] "ocir.clean_simply_wash_feel_retro"                               
[335] "ocir.mind_upset_unpleasant_thoughts_retro"                       
[336] "ocir.afraid_avoid_throwing_things_retro"                         
[337] "ocir.light_switches_water_taps_retro"                            
[338] "ocir.arranged_things_retro"                                      
[339] "ocir.good_feel_bad_numbers_retro"                                
[340] "ocir.hands_longer_wash_retro"                                    
[341] "ocir.saved_things_retro"                                         
[342] "ocir.frequently_difficulty_rid_nasty_retro"                      
[343] "ocir.i_check_things_more_often_than_necessary_retro"             
[344] "ocir.arranged_properly_objects_upset_retro"                      
[345] "ocir.feel_compelled_count_things_retro"                          
[346] "ocir.strangers_touch_touched_difficult_retro"                    
[347] "ocir.control_difficult_find_thoughts_retro"                      
[348] "ocir.i_collect_things_i_dont_need_retro"                         
[349] "ocir.i_repeatedly_check_doors_windows_drawers_etc_base"          
[350] "ocir.arranged_things_change_upset_base"                          
[351] "ocir.repeat_feel_numbers_base"                                   
[352] "ocir.clean_simply_wash_feel_base"                                
[353] "ocir.mind_upset_unpleasant_thoughts_base"                        
[354] "ocir.afraid_avoid_throwing_things_base"                          
[355] "ocir.light_switches_water_taps_base"                             
[356] "ocir.arranged_things_base"                                       
[357] "ocir.good_feel_bad_numbers_base"                                 
[358] "ocir.hands_longer_wash_base"                                     
[359] "ocir.saved_things_base"                                          
[360] "ocir.frequently_difficulty_rid_nasty_base"                       
[361] "ocir.i_check_things_more_often_than_necessary_base"              
[362] "ocir.arranged_properly_objects_upset_base"                       
[363] "ocir.feel_compelled_count_things_base"                           
[364] "ocir.strangers_touch_touched_difficult_base"                     
[365] "ocir.control_difficult_find_thoughts_base"                       
[366] "ocir.i_collect_things_i_dont_need_base"                          
[367] "ocir.felt_pandemic_feelings_numeric"                             
[368] "ocir.i_repeatedly_check_doors_windows_drawers_etc_retro_numeric" 
[369] "ocir.arranged_things_change_upset_retro_numeric"                 
[370] "ocir.repeat_feel_numbers_retro_numeric"                          
[371] "ocir.clean_simply_wash_feel_retro_numeric"                       
[372] "ocir.mind_upset_unpleasant_thoughts_retro_numeric"               
[373] "ocir.afraid_avoid_throwing_things_retro_numeric"                 
[374] "ocir.light_switches_water_taps_retro_numeric"                    
[375] "ocir.arranged_things_retro_numeric"                              
[376] "ocir.good_feel_bad_numbers_retro_numeric"                        
[377] "ocir.hands_longer_wash_retro_numeric"                            
[378] "ocir.saved_things_retro_numeric"                                 
[379] "ocir.frequently_difficulty_rid_nasty_retro_numeric"              
[380] "ocir.i_check_things_more_often_than_necessary_retro_numeric"     
[381] "ocir.arranged_properly_objects_upset_retro_numeric"              
[382] "ocir.feel_compelled_count_things_retro_numeric"                  
[383] "ocir.strangers_touch_touched_difficult_retro_numeric"            
[384] "ocir.control_difficult_find_thoughts_retro_numeric"              
[385] "ocir.i_collect_things_i_dont_need_retro_numeric"                 
[386] "ocir.i_repeatedly_check_doors_windows_drawers_etc_base_numeric"  
[387] "ocir.arranged_things_change_upset_base_numeric"                  
[388] "ocir.repeat_feel_numbers_base_numeric"                           
[389] "ocir.clean_simply_wash_feel_base_numeric"                        
[390] "ocir.mind_upset_unpleasant_thoughts_base_numeric"                
[391] "ocir.afraid_avoid_throwing_things_base_numeric"                  
[392] "ocir.light_switches_water_taps_base_numeric"                     
[393] "ocir.arranged_things_base_numeric"                               
[394] "ocir.good_feel_bad_numbers_base_numeric"                         
[395] "ocir.hands_longer_wash_base_numeric"                             
[396] "ocir.saved_things_base_numeric"                                  
[397] "ocir.frequently_difficulty_rid_nasty_base_numeric"               
[398] "ocir.i_check_things_more_often_than_necessary_base_numeric"      
[399] "ocir.arranged_properly_objects_upset_base_numeric"               
[400] "ocir.feel_compelled_count_things_base_numeric"                   
[401] "ocir.strangers_touch_touched_difficult_base_numeric"             
[402] "ocir.control_difficult_find_thoughts_base_numeric"               
[403] "ocir.i_collect_things_i_dont_need_base_numeric"                  
[404] "ocir.sum_score_retro_raw"                                        
[405] "ocir.sum_score_base_raw"                                         
[406] "na_per_person_ocir_retro"                                        
[407] "na_per_person_ocir_base"                                         
[408] "ocir.sum_score_base"                                             
[409] "ocir.sum_score_retro"                                            
[410] "ID.dup"                                                          
[411] "prepandemic_january_31_numeric"                                  
[412] "prepandemic_january_31"                                          
[413] "prepandemic_march_1_numeric"                                     
[414] "prepandemic_march_1"                                             
[415] "prepandemic_march_23_numeric"                                    
[416] "prepandemic_march_23"                                            
[417] "time_diff_coping_lockdown_march_23"                              
[418] "time_diff_coping_awareness_march_1"                              
[419] "time_diff_coping_first_case_uk_jan_31"                           
[420] "time_diff_sign_up_coping"                                        
[421] "phq.diff_score_retro_prepan"                                     
[422] "phq.diff_score_base_prepan"                                      
[423] "phq.diff_score_base_retro"                                       
[424] "gad.diff_score_retro_prepan"                                     
[425] "gad.diff_score_base_prepan"                                      
[426] "gad.diff_score_base_retro"                                       
[427] "pcl.diff_score_base_prepan"                                      
[428] "ocir.diff_score_retro_prepan"                                    
[429] "ocir.diff_score_base_prepan"                                     
[430] "ocir.diff_score_base_retro"                                      
[431] "data_group_phq_numeric"                                          
[432] "data_group_phq"                                                  
[433] "data_group_gad_numeric"                                          
[434] "data_group_gad"                                                  
[435] "data_group_pcl_numeric"                                          
[436] "data_group_pcl"                                                  
[437] "data_group_ocir_numeric"                                         
[438] "data_group_ocir"                                                 
[439] "respiratory.breath_diarrhoea_fatigue_fever"                      
[440] "respiratory.worst_ill_feel"                                      
[441] "respiratory.persistent_cough"                                    
[442] "respiratory.skipping_meals_because_you_felt_unwell"              
[443] "respiratory.was_your_sense_of_smell_impaired"                    
[444] "respiratory.was_your_sense_of_taste_impaired"                    
[445] "respiratory.feeling_tiredfatigued"                               
[446] "respiratory.throat_swab_coronavirus_nose"                        
[447] "respiratory.throat_swab_test_nose"                               
[448] "respiratory.coronavirus_antibody_test"                           
[449] "respiratory.results_antibody_test"                               
[450] "respiratory.breath_diarrhoea_fatigue_fever_numeric"              
[451] "respiratory.worst_ill_feel_numeric"                              
[452] "respiratory.persistent_cough_numeric"                            
[453] "respiratory.skipping_meals_because_you_felt_unwell_numeric"      
[454] "respiratory.was_your_sense_of_smell_impaired_numeric"            
[455] "respiratory.was_your_sense_of_taste_impaired_numeric"            
[456] "respiratory.feeling_tiredfatigued_numeric"                       
[457] "respiratory.throat_swab_coronavirus_nose_numeric"                
[458] "respiratory.throat_swab_test_nose_numeric"                       
[459] "respiratory.coronavirus_antibody_test_numeric"                   
[460] "respiratory.results_antibody_test_numeric"                       
[461] "respiratory.anosmia_binary"                                      
[462] "respiratory.pcough_binary"                                       
[463] "respiratory.fatigue_binary"                                      
[464] "respiratory.skipped_meals_binary"                                
[465] "Sex_respiratory"                                                 
[466] "Age_respiratory"                                                 
[467] "covid_symptoms"                                                  
[468] "covid_probability"                                               
[469] "covid_odds_ratio"                                                
[470] "covid_odds_ratio_50_numeric"                                     
[471] "covid_odds_ratio_50"                                             
[472] "covid_probable_case_incl_screening_numeric"                      
[473] "covid_probable_case_incl_screening"                              
[474] "COPING_ID"                                                       
[475] "Birthyear_unc"                                                   
[476] "Birthmonth"                                                      
[477] "Birthday"                                                        
[478] "Birthyear_unc_numeric"                                           
[479] "Birthmonth_numeric"                                              
[480] "Birthday_numeric"                                                
[481] "Birthyear_numeric"                                               
[482] "Birthdate"                                                       
[483] "Cohort"                                                          
[484] "Ethnicity.unc"                                                   
[485] "Cohort_numeric"                                                  
[486] "Ethnicity.unc_numeric"                                           
[487] "Ethnicity_full"                                                  
[488] "Transgender_uncleaned"                                           
[489] "Transgender_uncleaned_numeric"                                   
[490] "employment.what_is_your_highest_level_of_education"              
[491] "employment.what_is_your_highest_level_of_education_numeric"      
[492] "respiratory.coronavirus_week_antibody_test"                      
[493] "respiratory.coronavirus_week_antibody_test_numeric"              

Data availability

Data availability GAD

Frequencies  
dat.raw$data_group_gad  
Type: Factor  

                                                          Freq   % Valid   % Total
------------------------------------------------------ ------- --------- ---------
                                 Only prepandemic data      14      0.04      0.02
                       Baseline and retrospective data   11852     34.01     18.73
                         Prepandemic and baseline data    3590     10.30      5.67
                                    Baseline data only   10354     29.71     16.37
      All prepandemic, baseline and retrospective data    9024     25.90     14.26
                               Retrospective data only      11      0.03      0.02
                                                  <NA>   28421               44.92
                                                 Total   63266    100.00    100.00

Data availability PHQ

Frequencies  
dat.raw$data_group_phq  
Type: Factor  

                                                          Freq   % Valid   % Total
------------------------------------------------------ ------- --------- ---------
                                 Only prepandemic data      18      0.05      0.03
                       Baseline and retrospective data   12724     36.25     20.11
                         Prepandemic and baseline data    3241      9.23      5.12
                                    Baseline data only    9739     27.74     15.39
      All prepandemic, baseline and retrospective data    9357     26.66     14.79
                               Retrospective data only      25      0.07      0.04
                                                  <NA>   28162               44.51
                                                 Total   63266    100.00    100.00

Data availability PCL

Frequencies  
dat.raw$data_group_pcl  
Type: Factor  

                                                          Freq   % Valid   % Total
------------------------------------------------------ ------- --------- ---------
                                 Only prepandemic data     107      0.31      0.17
                       Baseline and retrospective data    4420     12.78      6.99
                         Prepandemic and baseline data    8032     23.23     12.70
                                    Baseline data only   17093     49.44     27.02
      All prepandemic, baseline and retrospective data    4885     14.13      7.72
                               Retrospective data only      35      0.10      0.06
                                                  <NA>   28694               45.35
                                                 Total   63266    100.00    100.00

Data availability OCI-R

Frequencies  
dat.raw$data_group_ocir  
Type: Factor  

                                                          Freq   % Valid   % Total
------------------------------------------------------ ------- --------- ---------
                                 Only prepandemic data    1219     19.49      1.93
                         Prepandemic and baseline data       2      0.03      0.00
                               Retrospective data only     487      7.79      0.77
      All prepandemic, baseline and retrospective data     483      7.72      0.76
                       Baseline and retrospective data    3031     48.46      4.79
                                    Baseline data only    1033     16.51      1.63
                                                  <NA>   57011               90.11
                                                 Total   63266    100.00    100.00
Frequencies  
dat.raw$Sample  
Type: Character  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
       EDGI    1950      3.08           3.08      3.08           3.08
       GLAD   38622     61.05          64.13     61.05          64.13
        NBR   13989     22.11          86.24     22.11          86.24
       RAMP    8705     13.76         100.00     13.76         100.00
       <NA>       0                               0.00         100.00
      Total   63266    100.00         100.00    100.00         100.00

Exclusions

Exclude GLAD/EDGI individuals that didn’t take part in COPING Exclude individuals with NA for the MHD categories Individuals with NAs for age/gender have already been excluded in pre-processing script.

++MD: There’s an issue with the EDGI obsessive_compulsive_disorders variable. There are >400 NAs so we are only left with 78 EDGI participants in the dataset.

[1] 63266   493
[1] 34140   493

Collapsing categories

age_category

Frequencies  
dat$age_category  
Type: Factor  

                Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
------------ ------- --------- -------------- --------- --------------
       16-18     992      2.91           2.91      2.91           2.91
       19-25    2689      7.88          10.78      7.88          10.78
       26-35    5148     15.08          25.86     15.08          25.86
       36-45    4793     14.04          39.90     14.04          39.90
       46-55    6971     20.42          60.32     20.42          60.32
       56-65    7846     22.98          83.30     22.98          83.30
       66-70    3108      9.10          92.40      9.10          92.40
       71-75    1944      5.69          98.10      5.69          98.10
       76-80     511      1.50          99.60      1.50          99.60
       81-85      99      0.29          99.89      0.29          99.89
       86-90      28      0.08          99.97      0.08          99.97
      91-100       6      0.02          99.99      0.02          99.99
        100+       5      0.01         100.00      0.01         100.00
        <NA>       0                               0.00         100.00
       Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$age_category_numeric  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          1     992      2.91           2.91      2.91           2.91
          2    2689      7.88          10.78      7.88          10.78
          3    5148     15.08          25.86     15.08          25.86
          4    4793     14.04          39.90     14.04          39.90
          5    6971     20.42          60.32     20.42          60.32
          6    7846     22.98          83.30     22.98          83.30
          7    3108      9.10          92.40      9.10          92.40
          8    1944      5.69          98.10      5.69          98.10
          9     511      1.50          99.60      1.50          99.60
         10      99      0.29          99.89      0.29          99.89
         11      28      0.08          99.97      0.08          99.97
         12       6      0.02          99.99      0.02          99.99
         13       5      0.01         100.00      0.01         100.00
       <NA>       0                               0.00         100.00
      Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$age_category_collapsed  
Type: Factor  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
      16-18     992      2.91           2.91      2.91           2.91
      19-25    2689      7.88          10.78      7.88          10.78
      26-35    5148     15.08          25.86     15.08          25.86
      36-45    4793     14.04          39.90     14.04          39.90
      46-55    6971     20.42          60.32     20.42          60.32
      56-65    7846     22.98          83.30     22.98          83.30
      66-70    3108      9.10          92.40      9.10          92.40
      71-75    1944      5.69          98.10      5.69          98.10
        76+     649      1.90         100.00      1.90         100.00
       <NA>       0                               0.00         100.00
      Total   34140    100.00         100.00    100.00         100.00

Gender

Frequencies  
dat$Gender  
Type: Factor  

                               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------------- ------- --------- -------------- --------- --------------
                       Male    9457     27.70          27.70     27.70          27.70
                     Female   24308     71.20          98.90     71.20          98.90
                 Non-binary     274      0.80          99.70      0.80          99.70
      Prefer to self-define     101      0.30         100.00      0.30         100.00
                       <NA>       0                               0.00         100.00
                      Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$Gender_numeric  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0    9457     27.70          27.70     27.70          27.70
          1   24308     71.20          98.90     71.20          98.90
          2     274      0.80          99.70      0.80          99.70
          3     101      0.30         100.00      0.30         100.00
       <NA>       0                               0.00         100.00
      Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$Gender_collapsed  
Type: Factor  

                                 Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------------------- ------- --------- -------------- --------- --------------
                         Male    9457     27.70          27.70     27.70          27.70
                       Female   24308     71.20          98.90     71.20          98.90
      Non-binary/Self-defined     375      1.10         100.00      1.10         100.00
                         <NA>       0                               0.00         100.00
                        Total   34140    100.00         100.00    100.00         100.00

Ethnicity

++MD: The ethnicity_numeric variable has more NAs (N = 14304) than the ethnicity categorical variable (N = 3568). Something strange must have happened during the conversion to numeric?

Frequencies  
dat$Ethnicity  
Type: Factor  

                                          Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------------------- ------- --------- -------------- --------- --------------
                              European   29780     96.09          96.09     87.23          87.23
      Mixed or multiple ethnic origins     541      1.75          97.83      1.58          88.81
                Asian or Asian British     379      1.22          99.06      1.11          89.92
            African or African British     109      0.35          99.41      0.32          90.24
                                  Arab      17      0.05          99.46      0.05          90.29
                    Other ethnic group     166      0.54         100.00      0.49          90.78
                                  <NA>    3148                               9.22         100.00
                                 Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$Ethnicity_numeric  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          1   29780     96.09          96.09     87.23          87.23
          2     541      1.75          97.83      1.58          88.81
          3     379      1.22          99.06      1.11          89.92
          4     109      0.35          99.41      0.32          90.24
          5      17      0.05          99.46      0.05          90.29
          6     166      0.54         100.00      0.49          90.78
       <NA>    3148                               9.22         100.00
      Total   34140    100.00         100.00    100.00         100.00

++MD: Need to decide what to do with the Arab grouping. ++MD: Why is “Other ethnic group” recoded as Asian or Asian British?

Frequencies  
dat$Ethnicity_collapsed  
Type: Factor  

                                          Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------------------- ------- --------- -------------- --------- --------------
                              European   29780     96.09          96.09     87.23          87.23
      Mixed or multiple ethnic origins     541      1.75          97.83      1.58          88.81
                Asian or Asian British     379      1.22          99.06      1.11          89.92
            African or African British     126      0.41          99.46      0.37          90.29
                                 Other     166      0.54         100.00      0.49          90.78
                                  <NA>    3148                               9.22         100.00
                                 Total   34140    100.00         100.00    100.00         100.00

Vectors for sum_score

 [1] "gad.sum_score_prepan"        "pcl.sum_score_prepan"       
 [3] "phq.sum_score_prepan"        "phq.sum_score_8items_prepan"
 [5] "ocir.sum_score_prepan"       "gad.sum_score_base"         
 [7] "gad.sum_score_retro"         "pcl.sum_score_base"         
 [9] "pcl.sum_score_retro"         "phq.sum_score_base"         
[11] "phq.sum_score_8items_base"   "phq.sum_score_retro"        
[13] "phq.sum_score_8items_retro"  "ocir.sum_score_base"        
[15] "ocir.sum_score_retro"       
[1] "phq.sum_score_prepan" "phq.sum_score_base"   "phq.sum_score_retro" 
[1] "gad.sum_score_prepan" "gad.sum_score_base"   "gad.sum_score_retro" 
[1] "ocir.sum_score_prepan" "ocir.sum_score_base"   "ocir.sum_score_retro" 
[1] "pcl.sum_score_prepan" "pcl.sum_score_base"   "pcl.sum_score_retro" 

Vectors for diff_score

 [1] "phq.diff_score_retro_prepan"  "phq.diff_score_base_prepan"  
 [3] "phq.diff_score_base_retro"    "gad.diff_score_retro_prepan" 
 [5] "gad.diff_score_base_prepan"   "gad.diff_score_base_retro"   
 [7] "pcl.diff_score_base_prepan"   "ocir.diff_score_retro_prepan"
 [9] "ocir.diff_score_base_prepan"  "ocir.diff_score_base_retro"  
[1] "phq.diff_score_retro_prepan" "phq.diff_score_base_prepan" 
[3] "phq.diff_score_base_retro"  
[1] "gad.diff_score_retro_prepan" "gad.diff_score_base_prepan" 
[3] "gad.diff_score_base_retro"  
[1] "ocir.diff_score_retro_prepan" "ocir.diff_score_base_prepan" 
[3] "ocir.diff_score_base_retro"  

ggplot theme

Set up ggplot theme for the plots

Psychiatric disorder hierarchy

OL co de an mh ea ob mh mh au mh ps D nt pr xi d. ti se d. d. ti d. yc VE ro es et po ng ss at pe sm ma ho RSIONS: l_numeric == 1 ~ 0, sive_disorders_numeric == 1 ~ 1, y_disorders_numeric == 1 ~ 2, sttraumatic_stress_disorder_ptsd_numeric == 1 ~ 3, _disorders_numeric == 1 ~ 4, ive_compulsive_disorders_numeric == 1 ~ 5, tention_deficit_hyperactivity_disorder_numeric == 1 ~ 6, rsonality_disorder_numeric == 1 ~ 7, _spectrum_disorder_numeric == 1 ~ 8, nia_hypomania_bipolar_or_manicdepression_numeric == 1 ~ 9, tic_disorders_numeric == 1 ~ 10
ps mh au mh mh ob ea mh an de co yc d. ti d. d. se ti d. xi pr nt ho ma sm pe at ss ng po et es ro tic_disorders_numeric == 1 ~ 10 nia_hypomania_bipolar_or_manicdepression_numeric == 1 ~ 9, _spectrum_disorder_numeric == 1 ~ 8, rsonality_disorder_numeric == 1 ~ 7, tention_deficit_hyperactivity_disorder_numeric == 1 ~ 6, ive_compulsive_disorders_numeric == 1 ~ 5, _disorders_numeric == 1 ~ 4, sttraumatic_stress_disorder_ptsd_numeric == 1 ~ 3, y_disorders_numeric == 1 ~ 2, sive_disorders_numeric == 1 ~ 1, l_numeric == 1 ~ 0,

Disorder hierarchy 1: Psychotic disorders (create one with, create one without to test in analyses) 2: Bipolar disorder 3: MDD 4: PTSD 5: OCD 6: Eating disorders 7: Anxiety disorders

Frequencies  
dat$Disorder_hierarchical_psychosis  
Type: Factor  

                              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------- ------- --------- -------------- --------- --------------
                  Controls   12452     37.11          37.11     36.47          36.47
         Anxiety disorders    1937      5.77          42.88      5.67          42.15
          Eating disorders     255      0.76          43.64      0.75          42.89
                      OCDs     266      0.79          44.44      0.78          43.67
                      PTSD     252      0.75          45.19      0.74          44.41
      Depressive disorders   16837     50.18          95.37     49.32          93.73
         Bipolar disorders     943      2.81          98.18      2.76          96.49
       Psychotic disorders     611      1.82         100.00      1.79          98.28
                      <NA>     587                               1.72         100.00
                     Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$Disorder_hierarchical  
Type: Factor  

                              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------- ------- --------- -------------- --------- --------------
                  Controls   12452     37.13          37.13     36.47          36.47
         Anxiety disorders    1941      5.79          42.91      5.69          42.16
          Eating disorders     258      0.77          43.68      0.76          42.91
                      OCDs     267      0.80          44.48      0.78          43.70
                      PTSD     256      0.76          45.24      0.75          44.45
      Depressive disorders   17166     51.18          96.43     50.28          94.73
         Bipolar disorders    1199      3.57         100.00      3.51          98.24
                      <NA>     601                               1.76         100.00
                     Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$Disorder_hierarchical_psychosis  
Type: Factor  

                              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------------------- ------- --------- -------------- --------- --------------
                  Controls   12452     37.11          37.11     36.47          36.47
         Anxiety disorders    1937      5.77          42.88      5.67          42.15
          Eating disorders     255      0.76          43.64      0.75          42.89
                      OCDs     266      0.79          44.44      0.78          43.67
                      PTSD     252      0.75          45.19      0.74          44.41
      Depressive disorders   16837     50.18          95.37     49.32          93.73
         Bipolar disorders     943      2.81          98.18      2.76          96.49
       Psychotic disorders     611      1.82         100.00      1.79          98.28
                      <NA>     587                               1.72         100.00
                     Total   34140    100.00         100.00    100.00         100.00

Investigate NAs NAs are coded for individuals that don’t have one of the listed disorders in the hierarchy, but who have another diagnosis that excludes them from being a control (e.g. personality disorder, ADHD, ASD). These individuals will be excluded from the analyses.

Frequencies  
dat$Sample  
Type: Character  

              Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------ --------- -------------- --------- --------------
       EDGI      8      1.33           1.33      1.33           1.33
       GLAD    102     16.97          18.30     16.97          18.30
        NBR    293     48.75          67.05     48.75          67.05
       RAMP    198     32.95         100.00     32.95         100.00
       <NA>      0                               0.00         100.00
      Total    601    100.00         100.00    100.00         100.00

Compare the GLAD/EDGI and COPING cohorts as a whole +++CH: Diagnosis, ethnicity, gender, age

age_category

age_category Sample n Prop
16-18 EDGI 86 0.00
16-18 GLAD 332 0.01
16-18 NBR 14 0.00
16-18 RAMP 560 0.02
19-25 EDGI 171 0.01
19-25 GLAD 1527 0.04
19-25 NBR 374 0.01
19-25 RAMP 617 0.02
26-35 EDGI 127 0.00
26-35 GLAD 2826 0.08
26-35 NBR 1284 0.04
26-35 RAMP 911 0.03
36-45 EDGI 62 0.00
36-45 GLAD 2440 0.07
36-45 NBR 1573 0.05
36-45 RAMP 718 0.02
46-55 EDGI 30 0.00
46-55 GLAD 2802 0.08
46-55 NBR 2863 0.08
46-55 RAMP 1276 0.04
56-65 EDGI 18 0.00
56-65 GLAD 1895 0.06
56-65 NBR 4095 0.12
56-65 RAMP 1838 0.05
66-70 EDGI 8 0.00
66-70 GLAD 436 0.01
66-70 NBR 1988 0.06
66-70 RAMP 676 0.02
71-75 EDGI 1 0.00
71-75 GLAD 232 0.01
71-75 NBR 1261 0.04
71-75 RAMP 450 0.01
76-80 GLAD 61 0.00
76-80 NBR 319 0.01
76-80 RAMP 131 0.00
81-85 GLAD 12 0.00
81-85 NBR 58 0.00
81-85 RAMP 29 0.00
86-90 GLAD 1 0.00
86-90 NBR 14 0.00
86-90 RAMP 13 0.00
91-100 NBR 2 0.00
91-100 RAMP 4 0.00
100+ NBR 3 0.00
100+ RAMP 2 0.00
Sample age_category n Prop
EDGI 16-18 86 0.17
EDGI 19-25 171 0.34
EDGI 26-35 127 0.25
EDGI 36-45 62 0.12
EDGI 46-55 30 0.06
EDGI 56-65 18 0.04
EDGI 66-70 8 0.02
EDGI 71-75 1 0.00
GLAD 16-18 332 0.03
GLAD 19-25 1527 0.12
GLAD 26-35 2826 0.22
GLAD 36-45 2440 0.19
GLAD 46-55 2802 0.22
GLAD 56-65 1895 0.15
GLAD 66-70 436 0.03
GLAD 71-75 232 0.02
GLAD 76-80 61 0.00
GLAD 81-85 12 0.00
GLAD 86-90 1 0.00
NBR 16-18 14 0.00
NBR 19-25 374 0.03
NBR 26-35 1284 0.09
NBR 36-45 1573 0.11
NBR 46-55 2863 0.21
NBR 56-65 4095 0.30
NBR 66-70 1988 0.14
NBR 71-75 1261 0.09
NBR 76-80 319 0.02
NBR 81-85 58 0.00
NBR 86-90 14 0.00
NBR 91-100 2 0.00
NBR 100+ 3 0.00
RAMP 16-18 560 0.08
RAMP 19-25 617 0.09
RAMP 26-35 911 0.13
RAMP 36-45 718 0.10
RAMP 46-55 1276 0.18
RAMP 56-65 1838 0.25
RAMP 66-70 676 0.09
RAMP 71-75 450 0.06
RAMP 76-80 131 0.02
RAMP 81-85 29 0.00
RAMP 86-90 13 0.00
RAMP 91-100 4 0.00
RAMP 100+ 2 0.00
age_category n_EDGI n_GLAD n_NBR n_RAMP Prop_EDGI Prop_GLAD Prop_NBR Prop_RAMP
16-18 86 332 14 560 0.17 0.03 0.00 0.08
19-25 171 1527 374 617 0.34 0.12 0.03 0.09
26-35 127 2826 1284 911 0.25 0.22 0.09 0.13
36-45 62 2440 1573 718 0.12 0.19 0.11 0.10
46-55 30 2802 2863 1276 0.06 0.22 0.21 0.18
56-65 18 1895 4095 1838 0.04 0.15 0.30 0.25
66-70 8 436 1988 676 0.02 0.03 0.14 0.09
71-75 1 232 1261 450 0.00 0.02 0.09 0.06
76-80 NA 61 319 131 NA 0.00 0.02 0.02
81-85 NA 12 58 29 NA 0.00 0.00 0.00
86-90 NA 1 14 13 NA 0.00 0.00 0.00
91-100 NA NA 2 4 NA NA 0.00 0.00
100+ NA NA 3 2 NA NA 0.00 0.00
age_category EDGI GLAD NBR RAMP
16-18 86 332 14 560
19-25 171 1527 374 617
26-35 127 2826 1284 911
36-45 62 2440 1573 718
46-55 30 2802 2863 1276
56-65 18 1895 4095 1838
66-70 8 436 1988 676
71-75 1 232 1261 450
76-80 0 61 319 131
81-85 0 12 58 29
86-90 0 1 14 13
91-100 0 0 2 4
100+ 0 0 3 2
Warning in chisq.test(.): Chi-squared approximation may be incorrect
statistic p.value parameter method
6312.511 0 36 Pearson’s Chi-squared test
Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

age bar plot for whole sample (not grouped)

Create a nice summary dataset for age and display it as a bar plot

age_category n Prop order
16-18 992 0.03 1
19-25 2689 0.08 2
26-35 5148 0.15 3
36-45 4793 0.14 4
46-55 6971 0.20 5
56-65 7846 0.23 6
66-70 3108 0.09 7
71-75 1944 0.06 8
76-80 511 0.01 9
81-85 99 0.00 10
86-90 28 0.00 11
91-100 6 0.00 12
100+ 5 0.00 13
No summary function supplied, defaulting to `mean_se()`

Ethnicity_collapsed

Ethnicity_collapsed Sample n Prop
European EDGI 480 0.01
European GLAD 12014 0.35
European NBR 10442 0.31
European RAMP 6844 0.20
Mixed or multiple ethnic origins EDGI 13 0.00
Mixed or multiple ethnic origins GLAD 271 0.01
Mixed or multiple ethnic origins NBR 125 0.00
Mixed or multiple ethnic origins RAMP 132 0.00
Asian or Asian British EDGI 4 0.00
Asian or Asian British GLAD 95 0.00
Asian or Asian British NBR 145 0.00
Asian or Asian British RAMP 135 0.00
African or African British GLAD 43 0.00
African or African British NBR 51 0.00
African or African British RAMP 32 0.00
Other EDGI 6 0.00
Other GLAD 112 0.00
Other RAMP 48 0.00
NA GLAD 29 0.00
NA NBR 3085 0.09
NA RAMP 34 0.00
Sample Ethnicity_collapsed n Prop
EDGI European 480 0.95
EDGI Mixed or multiple ethnic origins 13 0.03
EDGI Asian or Asian British 4 0.01
EDGI Other 6 0.01
GLAD European 12014 0.96
GLAD Mixed or multiple ethnic origins 271 0.02
GLAD Asian or Asian British 95 0.01
GLAD African or African British 43 0.00
GLAD Other 112 0.01
GLAD NA 29 0.00
NBR European 10442 0.75
NBR Mixed or multiple ethnic origins 125 0.01
NBR Asian or Asian British 145 0.01
NBR African or African British 51 0.00
NBR NA 3085 0.22
RAMP European 6844 0.95
RAMP Mixed or multiple ethnic origins 132 0.02
RAMP Asian or Asian British 135 0.02
RAMP African or African British 32 0.00
RAMP Other 48 0.01
RAMP NA 34 0.00
Ethnicity_collapsed n_EDGI n_GLAD n_NBR n_RAMP Prop_EDGI Prop_GLAD Prop_NBR Prop_RAMP
European 480 12014 10442 6844 0.95 0.96 0.75 0.95
Mixed or multiple ethnic origins 13 271 125 132 0.03 0.02 0.01 0.02
Asian or Asian British 4 95 145 135 0.01 0.01 0.01 0.02
Other 6 112 NA 48 0.01 0.01 NA 0.01
African or African British NA 43 51 32 NA 0.00 0.00 0.00
NA NA 29 3085 34 NA 0.00 0.22 0.00
Ethnicity_collapsed EDGI GLAD NBR RAMP
European 480 12014 10442 6844
Mixed or multiple ethnic origins 13 271 125 132
Asian or Asian British 4 95 145 135
African or African British 0 43 51 32
Other 6 112 0 48
NA 0 29 3085 34
Warning in chisq.test(.): Chi-squared approximation may be incorrect
statistic p.value parameter method
4929.535 0 15 Pearson’s Chi-squared test
Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

pie charts

Ethnicity_collapsed n freq
European 29780 0.96
Mixed or multiple ethnic origins 541 0.02
Asian or Asian British 379 0.01
African or African British 126 0.00
Other 166 0.01

pie chart with only European label

Warning: Ignoring unknown parameters: face

pie chart - no labels

Gender_collapsed

Gender_collapsed Sample n Prop
Male EDGI 12 0.00
Male GLAD 2263 0.07
Male NBR 5942 0.17
Male RAMP 1240 0.04
Female EDGI 480 0.01
Female GLAD 10055 0.29
Female NBR 7867 0.23
Female RAMP 5906 0.17
Non-binary/Self-defined EDGI 11 0.00
Non-binary/Self-defined GLAD 246 0.01
Non-binary/Self-defined NBR 39 0.00
Non-binary/Self-defined RAMP 79 0.00
Sample Gender_collapsed n Prop
EDGI Male 12 0.02
EDGI Female 480 0.95
EDGI Non-binary/Self-defined 11 0.02
GLAD Male 2263 0.18
GLAD Female 10055 0.80
GLAD Non-binary/Self-defined 246 0.02
NBR Male 5942 0.43
NBR Female 7867 0.57
NBR Non-binary/Self-defined 39 0.00
RAMP Male 1240 0.17
RAMP Female 5906 0.82
RAMP Non-binary/Self-defined 79 0.01
Gender_collapsed n_EDGI n_GLAD n_NBR n_RAMP Prop_EDGI Prop_GLAD Prop_NBR Prop_RAMP
Male 12 2263 5942 1240 0.02 0.18 0.43 0.17
Female 480 10055 7867 5906 0.95 0.80 0.57 0.82
Non-binary/Self-defined 11 246 39 79 0.02 0.02 0.00 0.01
Gender_collapsed EDGI GLAD NBR RAMP
Male 12 2263 5942 1240
Female 480 10055 7867 5906
Non-binary/Self-defined 11 246 39 79
statistic p.value parameter method
2856.699 0 6 Pearson’s Chi-squared test
Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

pie charts

Gender_collapsed n freq
Male 9457 0.28
Female 24308 0.71
Non-binary/Self-defined 375 0.01
Warning: Ignoring unknown parameters: face

pie chart - only labelling two largest groups (male and female)

Warning: Ignoring unknown parameters: face

pie chart - no labels

highest_education

highest_education Sample n Prop
GCSE/CSE EDGI 69 0.00
GCSE/CSE GLAD 1063 0.03
GCSE/CSE NBR 1980 0.06
GCSE/CSE RAMP 1009 0.03
NVQ EDGI 16 0.00
NVQ GLAD 913 0.03
NVQ NBR 1299 0.04
A-levels EDGI 156 0.00
A-levels GLAD 2689 0.08
A-levels NBR 2467 0.07
A-levels RAMP 1393 0.04
University EDGI 254 0.01
University GLAD 7471 0.22
University NBR 7362 0.22
University RAMP 4598 0.13
NA EDGI 8 0.00
NA GLAD 428 0.01
NA NBR 740 0.02
NA RAMP 225 0.01
Sample highest_education n Prop
EDGI GCSE/CSE 69 0.14
EDGI NVQ 16 0.03
EDGI A-levels 156 0.31
EDGI University 254 0.50
EDGI NA 8 0.02
GLAD GCSE/CSE 1063 0.08
GLAD NVQ 913 0.07
GLAD A-levels 2689 0.21
GLAD University 7471 0.59
GLAD NA 428 0.03
NBR GCSE/CSE 1980 0.14
NBR NVQ 1299 0.09
NBR A-levels 2467 0.18
NBR University 7362 0.53
NBR NA 740 0.05
RAMP GCSE/CSE 1009 0.14
RAMP A-levels 1393 0.19
RAMP University 4598 0.64
RAMP NA 225 0.03
highest_education n_EDGI n_GLAD n_NBR n_RAMP Prop_EDGI Prop_GLAD Prop_NBR Prop_RAMP
GCSE/CSE 69 1063 1980 1009 0.14 0.08 0.14 0.14
NVQ 16 913 1299 NA 0.03 0.07 0.09 NA
A-levels 156 2689 2467 1393 0.31 0.21 0.18 0.19
University 254 7471 7362 4598 0.50 0.59 0.53 0.64
NA 8 428 740 225 0.02 0.03 0.05 0.03
highest_education EDGI GLAD NBR RAMP
GCSE/CSE 69 1063 1980 1009
NVQ 16 913 1299 0
A-levels 156 2689 2467 1393
University 254 7471 7362 4598
NA 8 428 740 225
statistic p.value parameter method
1152.422 0 12 Pearson’s Chi-squared test
Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

pie chart

summary dataset with frequencies

highest_education n freq
GCSE/CSE 4121 0.12
NVQ 2228 0.07
A-levels 6705 0.20
University 19685 0.58

pie chart labels

Warning: Ignoring unknown parameters: face

Warning: Ignoring unknown parameters: face

Warning: Ignoring unknown aesthetics: face

pie chart - no labels

key_worker

key_worker Sample n Prop
No key worker EDGI 324 0.01
No key worker GLAD 7215 0.21
No key worker NBR 9105 0.27
No key worker RAMP 4900 0.14
Key worker EDGI 179 0.01
Key worker GLAD 5313 0.16
Key worker NBR 4719 0.14
Key worker RAMP 2279 0.07
NA GLAD 36 0.00
NA NBR 24 0.00
NA RAMP 46 0.00
Sample key_worker n Prop
EDGI No key worker 324 0.64
EDGI Key worker 179 0.36
GLAD No key worker 7215 0.57
GLAD Key worker 5313 0.42
GLAD NA 36 0.00
NBR No key worker 9105 0.66
NBR Key worker 4719 0.34
NBR NA 24 0.00
RAMP No key worker 4900 0.68
RAMP Key worker 2279 0.32
RAMP NA 46 0.01
key_worker n_EDGI n_GLAD n_NBR n_RAMP Prop_EDGI Prop_GLAD Prop_NBR Prop_RAMP
No key worker 324 7215 9105 4900 0.64 0.57 0.66 0.68
Key worker 179 5313 4719 2279 0.36 0.42 0.34 0.32
NA NA 36 24 46 NA 0.00 0.00 0.01
key_worker EDGI GLAD NBR RAMP
No key worker 324 7215 9105 4900
Key worker 179 5313 4719 2279
NA 0 36 24 46
Warning in chisq.test(.): Chi-squared approximation may be incorrect
statistic p.value parameter method
325.9141 0 6 Pearson’s Chi-squared test
Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

COVID

Recode variable

Frequencies  
dat$covid_test_positive_double  
Type: Factor  

                         Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
--------------------- ------- --------- -------------- --------- --------------
             Negative     525     81.27          81.27      1.54           1.54
             Positive     113     17.49          98.76      0.33           1.87
      Double positive       8      1.24         100.00      0.02           1.89
                 <NA>   33494                              98.11         100.00
                Total   34140    100.00         100.00    100.00         100.00
Frequencies  
dat$covid_test_positive  
Type: Factor  

                  Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
-------------- ------- --------- -------------- --------- --------------
      Negative     525     81.27          81.27      1.54           1.54
      Positive     121     18.73         100.00      0.35           1.89
          <NA>   33494                              98.11         100.00
         Total   34140    100.00         100.00    100.00         100.00

COVID swab test positive

antibody test

COVID probable diagnosis

Cross table probable covid and covid test positive

Create data set per measure

++MD: Do we want to break up the datasets by measure? I think the datasets we’ve already specified should be sufficient. I’ve tested the results of the regression model and it’s the same using dat.gad vs. dat datasets.

GAD

[1] 23326   507

Questionnaire comparions

gad

Split sample in improvement and worsening

Frequencies  
dat$gad.change_binary  
Type: Factor  

                     Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------- ------- --------- -------------- --------- --------------
        No change   13485     40.06          40.06     39.50          39.50
        Worsening   17936     53.28          93.33     52.54          92.04
      Improvement    2245      6.67         100.00      6.58          98.61
             <NA>     474                               1.39         100.00
            Total   34140    100.00         100.00    100.00         100.00

Summary scores

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf
Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Table for knitting gad sum score summary table

Change Variable Min Max Mean Median SD Skew Kurtosis
No change Base 0 21 2.693124 1.0 4.445897 2.1547264 4.3596484
No change Prepan 0 21 7.996640 7.0 6.170951 0.5224061 -0.8514683
No change Retro Inf -Inf NaN NA NA NA NA
Worsening Base 0 21 8.690722 7.0 5.684861 0.5285536 -0.7929051
Worsening Prepan 0 21 9.149549 8.0 5.874061 0.3780374 -0.9036095
Worsening Retro 0 21 4.652201 4.0 4.283507 1.3776402 1.9301661
Improvement Base 0 21 4.772423 3.0 4.815615 1.3389238 1.4732104
Improvement Prepan 0 21 9.032000 8.0 5.805820 0.3704868 -0.8726344
Improvement Retro 0 21 8.365832 7.0 5.488028 0.5079862 -0.6032456
NA Base 0 21 5.687500 4.5 5.803324 1.0953295 0.4284685
NA Prepan 0 21 9.500000 9.5 8.053393 0.1148721 -1.8538284
NA Retro Inf -Inf NaN NA NA NA NA

Differences scores

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf
Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Table for knitting gad diff summary table

Change Variable Min Max Mean Median SD Skew Kurtosis
No change Base - prepan -21 20 -2.0521886 -1 4.703451 -0.4883783 1.5092428
No change Base - retro Inf -Inf NaN NA NA NA NA
No change Prepan - retro Inf -Inf NaN NA NA NA NA
Worsening Base - prepan -18 21 1.0277205 1 5.275383 -0.0249632 0.6283061
Worsening Base - retro -21 21 4.0416037 3 4.274148 0.7564234 0.9418833
Worsening Prepan - retro -21 18 -3.4602295 -3 5.077773 -0.3166423 0.4763220
Improvement Base - prepan -21 12 -3.9254808 -3 5.476206 -0.3018827 0.1906018
Improvement Base - retro -21 21 -3.5897092 -3 5.268730 0.3986363 1.9738652
Improvement Prepan - retro -21 20 0.4391026 1 5.672948 -0.1441283 0.8795674
NA Base - prepan -9 6 -1.5000000 -2 5.431390 0.0468089 -1.6798094
NA Base - retro Inf -Inf NaN NA NA NA NA
NA Prepan - retro Inf -Inf NaN NA NA NA NA

Long format

Plots diff

makes this into percentages

Warning: Removed 60747 rows containing non-finite values (stat_count).

Warning: Removed 35612 rows containing non-finite values (stat_bin).

Warning: Removed 35612 rows containing non-finite values (stat_bin).

Warning: Removed 25135 rows containing non-finite values (stat_bin).

Plots sum

Warning: Removed 36027 rows containing non-finite values (stat_bin).

Warning: Removed 36027 rows containing non-finite values (stat_bin).

phq

Split sample in improvement and worsening

Frequencies  
dat$phq.change_binary  
Type: Factor  

                     Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------- ------- --------- -------------- --------- --------------
        No change   12473     36.85          36.85     36.53          36.53
        Worsening   18807     55.56          92.40     55.09          91.62
      Improvement    2571      7.60         100.00      7.53          99.15
             <NA>     289                               0.85         100.00
            Total   34140    100.00         100.00    100.00         100.00

Summary scores

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf
Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Table for knitting phq sum score summary table

Phq.change_binary Variable Min Max Mean Median SD Skew Kurtosis
No change Base 0 27 3.834325 2.0 5.487266 1.9978523 3.7249234
No change Prepan 0 27 10.317798 9.0 7.159656 0.5053729 -0.7034678
No change Retro Inf -Inf NaN NA NA NA NA
Worsening Base 0 27 10.334489 9.0 6.578224 0.5941189 -0.5328174
Worsening Prepan 0 27 11.534981 11.0 6.736073 0.3295981 -0.7558108
Worsening Retro 0 27 5.742008 4.0 5.275809 1.4082781 1.9109288
Improvement Base 0 27 6.765783 5.0 5.704423 1.0324182 0.6700561
Improvement Prepan 0 27 11.437159 11.0 6.740387 0.3150201 -0.8114930
Improvement Retro 0 27 9.877734 9.0 6.780911 0.5708129 -0.4995103
NA Base 0 27 5.951807 3.0 6.756193 1.2117750 0.6807223
NA Prepan 0 25 10.894737 8.5 7.496988 0.4956770 -1.0962270
NA Retro Inf -Inf NaN NA NA NA NA

Differences score

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf
Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Table for knitting phq diff summary table

Phq.change_binary Variable Min Max Mean Median SD Skew Kurtosis
No change Base - prepan -25 23 -2.0015689 -1 5.129674 -0.3419127 1.7604794
No change Base - retro Inf -Inf NaN NA NA NA NA
No change Prepan - retro Inf -Inf NaN NA NA NA NA
Worsening Base - prepan -23 24 0.8700622 1 5.568655 -0.0437269 0.9027380
Worsening Base - retro -18 27 4.5908896 4 4.514601 0.9060593 1.3181150
Worsening Prepan - retro -27 21 -4.1664128 -4 5.505279 -0.3716544 0.6183974
Improvement Base - prepan -23 14 -3.9952120 -3 5.683349 -0.4409869 0.2125988
Improvement Base - retro -24 23 -3.1016817 -3 5.510325 -0.0266908 1.7531180
Improvement Prepan - retro -27 22 -0.1343386 0 6.160723 -0.0402414 0.6911364
NA Base - prepan -21 8 -0.5277778 0 5.794017 -1.1586641 2.3722947
NA Base - retro Inf -Inf NaN NA NA NA NA
NA Prepan - retro Inf -Inf NaN NA NA NA NA

Long format

Plots

makes this into percentages

Warning: Removed 59264 rows containing non-finite values (stat_count).

Warning: Removed 34461 rows containing non-finite values (stat_bin).

Warning: Removed 24803 rows containing non-finite values (stat_bin).

Warning: Removed 34461 rows containing non-finite values (stat_bin).

Plots sum

Warning: Removed 34620 rows containing non-finite values (stat_bin).

Warning: Removed 34620 rows containing non-finite values (stat_bin).

ocir

Split sample in improvement and worsening

Frequencies  
dat$ocir.change_binary  
Type: Factor  

                     Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------------- ------- --------- -------------- --------- --------------
        No change    2994     39.01          39.01      8.77           8.77
        Worsening    4515     58.83          97.84     13.22          21.99
      Improvement     166      2.16         100.00      0.49          22.48
             <NA>   26465                              77.52         100.00
            Total   34140    100.00         100.00    100.00         100.00

Summary scores

Warning in min(., na.rm = T): no non-missing arguments to min; returning Inf
Warning in max(., na.rm = T): no non-missing arguments to max; returning -Inf

Table for knitting ocir sum score summary table

Variable Min Max Mean Median SD Skew Kurtosis
Base 18 90 35.69390 33 12.86956 1.1372385 1.1980574
Prepan 1 71 27.17686 25 14.19362 0.6455718 -0.0031294
Retro 18 89 35.06046 32 12.85018 1.1044328 0.9981583

Differences scores

Table for knitting ocir diff summary table

Variable Min Max Mean Median SD Skew Kurtosis
Base - prepan -22 52 9.9439834 11 10.747672 -0.1431452 0.6169712
Base - retro -44 72 0.7320657 0 9.605890 0.3069128 2.5445664
Prepan - retro -12 45 14.4591611 15 9.306624 -0.0849011 0.3751559

Long format

Plots

makes this into percentages

Warning: Removed 96404 rows containing non-finite values (stat_count).

Warning: Removed 63170 rows containing non-finite values (stat_bin).

Warning: Removed 33234 rows containing non-finite values (stat_bin).

Warning: Removed 63170 rows containing non-finite values (stat_bin).

Plots sum

Warning: Removed 87613 rows containing non-finite values (stat_bin).

Warning: Removed 87613 rows containing non-finite values (stat_bin).

Rank the disorders by the size of the change

PCL:
Calculate the total GLAD, COPING, RAMP baseline ## pcl

Table for knitting pcl sum score summary table

Variable Min Max Mean Median SD Skew Kurtosis
Base - prepan -23 24 0.1667702 0 5.662077 -0.06239 0.6532156

Table for knitting pcl diff summary table

Variable Min Max Mean Median SD Skew Kurtosis
Base 6 30 12.40117 11 6.052011 0.9192381 -0.0477843
Prepan 6 30 15.55116 15 6.141304 0.3894958 -0.7457662
For each item present percentages of how say that this is due to the pandemic

Plots sum

Warning: Removed 47886 rows containing non-finite values (stat_bin).

Warning: Removed 47886 rows containing non-finite values (stat_bin).

Psychiatric disorders

Frequencies  
dat$disorders_total_count  
Type: Numeric  

               Freq   % Valid   % Valid Cum.   % Total   % Total Cum.
----------- ------- --------- -------------- --------- --------------
          0   12943     38.93          38.93     37.91          37.91
          1    5830     17.54          56.47     17.08          54.99
          2    8536     25.68          82.14     25.00          79.99
          3    3493     10.51          92.65     10.23          90.22
          4    1475      4.44          97.09      4.32          94.54
          5     620      1.86          98.95      1.82          96.36
          6     251      0.76          99.71      0.74          97.09
          7      67      0.20          99.91      0.20          97.29
          8      23      0.07          99.98      0.07          97.36
          9       7      0.02         100.00      0.02          97.38
       <NA>     895                               2.62         100.00
      Total   34140    100.00         100.00    100.00         100.00

Vector

Correlation matrix

Warning in polychor(x, y, ML = ML, std.err = std.err): inadmissible correlation
set to -0.9999

Warning in polychor(x, y, ML = ML, std.err = std.err): inadmissible correlation
set to -0.9999
Warning in hetcor.data.frame(as.data.frame(dat[, mhd.items]), use =
"pairwise.complete.obs"): the correlation matrix has been adjusted to make it
positive-definite

Two-Step Estimates

Correlations/Type of Correlation:
                                               depressive_disorders
depressive_disorders                                              1
anxiety_disorders                                             0.841
eating_disorders                                             0.5042
obsessive_compulsive_disorders                               0.5299
psychotic_disorders                                           0.502
mhd.mania_hypomania_bipolar_or_manicdepression               0.5432
mhd.posttraumatic_stress_disorder_ptsd                       0.5915
autism_spectrum_disorder                                     0.3868
mhd.attention_deficit_hyperactivity_disorder                 0.3743
mhd.personality_disorder                                     0.6347
control                                                     -0.8055
                                               anxiety_disorders
depressive_disorders                                  Polychoric
anxiety_disorders                                              1
eating_disorders                                          0.4753
obsessive_compulsive_disorders                            0.6304
psychotic_disorders                                       0.4561
mhd.mania_hypomania_bipolar_or_manicdepression            0.4342
mhd.posttraumatic_stress_disorder_ptsd                    0.5908
autism_spectrum_disorder                                  0.4405
mhd.attention_deficit_hyperactivity_disorder              0.4174
mhd.personality_disorder                                  0.5841
control                                                  -0.8037
                                               eating_disorders
depressive_disorders                                 Polychoric
anxiety_disorders                                    Polychoric
eating_disorders                                              1
obsessive_compulsive_disorders                           0.5792
psychotic_disorders                                      0.3367
mhd.mania_hypomania_bipolar_or_manicdepression           0.3469
mhd.posttraumatic_stress_disorder_ptsd                   0.3753
autism_spectrum_disorder                                 0.3038
mhd.attention_deficit_hyperactivity_disorder             0.3376
mhd.personality_disorder                                 0.5207
control                                                  -0.683
                                               obsessive_compulsive_disorders
depressive_disorders                                               Polychoric
anxiety_disorders                                                  Polychoric
eating_disorders                                                   Polychoric
obsessive_compulsive_disorders                                              1
psychotic_disorders                                                    0.3881
mhd.mania_hypomania_bipolar_or_manicdepression                         0.3896
mhd.posttraumatic_stress_disorder_ptsd                                 0.4557
autism_spectrum_disorder                                               0.4055
mhd.attention_deficit_hyperactivity_disorder                           0.4027
mhd.personality_disorder                                               0.5019
control                                                                -0.739
                                               psychotic_disorders
depressive_disorders                                    Polychoric
anxiety_disorders                                       Polychoric
eating_disorders                                        Polychoric
obsessive_compulsive_disorders                          Polychoric
psychotic_disorders                                              1
mhd.mania_hypomania_bipolar_or_manicdepression              0.7047
mhd.posttraumatic_stress_disorder_ptsd                      0.4401
autism_spectrum_disorder                                    0.2926
mhd.attention_deficit_hyperactivity_disorder                0.3512
mhd.personality_disorder                                    0.5947
control                                                    -0.6933
                                               mhd.mania_hypomania_bipolar_or_manicdepression
depressive_disorders                                                               Polychoric
anxiety_disorders                                                                  Polychoric
eating_disorders                                                                   Polychoric
obsessive_compulsive_disorders                                                     Polychoric
psychotic_disorders                                                                Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression                                              1
mhd.posttraumatic_stress_disorder_ptsd                                                 0.3518
autism_spectrum_disorder                                                               0.2842
mhd.attention_deficit_hyperactivity_disorder                                           0.3491
mhd.personality_disorder                                                               0.5804
control                                                                               -0.6845
                                               mhd.posttraumatic_stress_disorder_ptsd
depressive_disorders                                                       Polychoric
anxiety_disorders                                                          Polychoric
eating_disorders                                                           Polychoric
obsessive_compulsive_disorders                                             Polychoric
psychotic_disorders                                                        Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression                             Polychoric
mhd.posttraumatic_stress_disorder_ptsd                                              1
autism_spectrum_disorder                                                       0.2902
mhd.attention_deficit_hyperactivity_disorder                                   0.2799
mhd.personality_disorder                                                       0.5024
control                                                                       -0.6823
                                               autism_spectrum_disorder
depressive_disorders                                         Polychoric
anxiety_disorders                                            Polychoric
eating_disorders                                             Polychoric
obsessive_compulsive_disorders                               Polychoric
psychotic_disorders                                          Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression               Polychoric
mhd.posttraumatic_stress_disorder_ptsd                       Polychoric
autism_spectrum_disorder                                              1
mhd.attention_deficit_hyperactivity_disorder                     0.5789
mhd.personality_disorder                                         0.3788
control                                                         -0.6334
                                               mhd.attention_deficit_hyperactivity_disorder
depressive_disorders                                                             Polychoric
anxiety_disorders                                                                Polychoric
eating_disorders                                                                 Polychoric
obsessive_compulsive_disorders                                                   Polychoric
psychotic_disorders                                                              Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression                                   Polychoric
mhd.posttraumatic_stress_disorder_ptsd                                           Polychoric
autism_spectrum_disorder                                                         Polychoric
mhd.attention_deficit_hyperactivity_disorder                                              1
mhd.personality_disorder                                                             0.3907
control                                                                             -0.6524
                                               mhd.personality_disorder
depressive_disorders                                         Polychoric
anxiety_disorders                                            Polychoric
eating_disorders                                             Polychoric
obsessive_compulsive_disorders                               Polychoric
psychotic_disorders                                          Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression               Polychoric
mhd.posttraumatic_stress_disorder_ptsd                       Polychoric
autism_spectrum_disorder                                     Polychoric
mhd.attention_deficit_hyperactivity_disorder                 Polychoric
mhd.personality_disorder                                              1
control                                                         -0.7712
                                                  control
depressive_disorders                           Polychoric
anxiety_disorders                              Polychoric
eating_disorders                               Polychoric
obsessive_compulsive_disorders                 Polychoric
psychotic_disorders                            Polychoric
mhd.mania_hypomania_bipolar_or_manicdepression Polychoric
mhd.posttraumatic_stress_disorder_ptsd         Polychoric
autism_spectrum_disorder                       Polychoric
mhd.attention_deficit_hyperactivity_disorder   Polychoric
mhd.personality_disorder                       Polychoric
control                                                 1

Standard Errors/Numbers of Observations:
                                               depressive_disorders
depressive_disorders                                          34140
anxiety_disorders                                          0.003942
eating_disorders                                            0.01152
obsessive_compulsive_disorders                              0.01142
psychotic_disorders                                         0.02094
mhd.mania_hypomania_bipolar_or_manicdepression              0.01549
mhd.posttraumatic_stress_disorder_ptsd                      0.01061
autism_spectrum_disorder                                    0.02002
mhd.attention_deficit_hyperactivity_disorder                0.02525
mhd.personality_disorder                                    0.01452
control                                                         Inf
                                               anxiety_disorders
depressive_disorders                                       33245
anxiety_disorders                                          33245
eating_disorders                                          0.0114
obsessive_compulsive_disorders                           0.01031
psychotic_disorders                                      0.01976
mhd.mania_hypomania_bipolar_or_manicdepression           0.01531
mhd.posttraumatic_stress_disorder_ptsd                   0.01018
autism_spectrum_disorder                                 0.01936
mhd.attention_deficit_hyperactivity_disorder             0.02443
mhd.personality_disorder                                 0.01357
control                                                      Inf
                                               eating_disorders
depressive_disorders                                      34140
anxiety_disorders                                         33245
eating_disorders                                          34140
obsessive_compulsive_disorders                          0.01222
psychotic_disorders                                     0.02333
mhd.mania_hypomania_bipolar_or_manicdepression          0.01892
mhd.posttraumatic_stress_disorder_ptsd                  0.01483
autism_spectrum_disorder                                0.02378
mhd.attention_deficit_hyperactivity_disorder            0.02776
mhd.personality_disorder                                0.01495
control                                                     Inf
                                               obsessive_compulsive_disorders
depressive_disorders                                                    34140
anxiety_disorders                                                       33245
eating_disorders                                                        34140
obsessive_compulsive_disorders                                          34140
psychotic_disorders                                                   0.02208
mhd.mania_hypomania_bipolar_or_manicdepression                        0.01809
mhd.posttraumatic_stress_disorder_ptsd                                0.01371
autism_spectrum_disorder                                              0.02143
mhd.attention_deficit_hyperactivity_disorder                          0.02579
mhd.personality_disorder                                              0.01522
control                                                                 35.67
                                               psychotic_disorders
depressive_disorders                                         34140
anxiety_disorders                                            33245
eating_disorders                                             34140
obsessive_compulsive_disorders                               34140
psychotic_disorders                                          34140
mhd.mania_hypomania_bipolar_or_manicdepression              0.0161
mhd.posttraumatic_stress_disorder_ptsd                     0.02061
autism_spectrum_disorder                                   0.03439
mhd.attention_deficit_hyperactivity_disorder               0.03773
mhd.personality_disorder                                   0.01879
control                                                      3.293
                                               mhd.mania_hypomania_bipolar_or_manicdepression
depressive_disorders                                                                    34140
anxiety_disorders                                                                       33245
eating_disorders                                                                        34140
obsessive_compulsive_disorders                                                          34140
psychotic_disorders                                                                     34140
mhd.mania_hypomania_bipolar_or_manicdepression                                          34140
mhd.posttraumatic_stress_disorder_ptsd                                                0.01837
autism_spectrum_disorder                                                              0.02888
mhd.attention_deficit_hyperactivity_disorder                                          0.03203
mhd.personality_disorder                                                              0.01615
control                                                                                 1.903
                                               mhd.posttraumatic_stress_disorder_ptsd
depressive_disorders                                                            34140
anxiety_disorders                                                               33245
eating_disorders                                                                34140
obsessive_compulsive_disorders                                                  34140
psychotic_disorders                                                             34140
mhd.mania_hypomania_bipolar_or_manicdepression                                  34140
mhd.posttraumatic_stress_disorder_ptsd                                          34140
autism_spectrum_disorder                                                      0.02346
mhd.attention_deficit_hyperactivity_disorder                                   0.0286
mhd.personality_disorder                                                      0.01494
control                                                                         2.441
                                               autism_spectrum_disorder
depressive_disorders                                              34140
anxiety_disorders                                                 33245
eating_disorders                                                  34140
obsessive_compulsive_disorders                                    34140
psychotic_disorders                                               34140
mhd.mania_hypomania_bipolar_or_manicdepression                    34140
mhd.posttraumatic_stress_disorder_ptsd                            34140
autism_spectrum_disorder                                          34140
mhd.attention_deficit_hyperactivity_disorder                    0.02716
mhd.personality_disorder                                        0.02471
control                                                           3.323
                                               mhd.attention_deficit_hyperactivity_disorder
depressive_disorders                                                                  34140
anxiety_disorders                                                                     33245
eating_disorders                                                                      34140
obsessive_compulsive_disorders                                                        34140
psychotic_disorders                                                                   34140
mhd.mania_hypomania_bipolar_or_manicdepression                                        34140
mhd.posttraumatic_stress_disorder_ptsd                                                34140
autism_spectrum_disorder                                                              34140
mhd.attention_deficit_hyperactivity_disorder                                          34140
mhd.personality_disorder                                                            0.02898
control                                                                               428.1
                                               mhd.personality_disorder control
depressive_disorders                                              34140   34140
anxiety_disorders                                                 33245   33245
eating_disorders                                                  34140   34140
obsessive_compulsive_disorders                                    34140   34140
psychotic_disorders                                               34140   34140
mhd.mania_hypomania_bipolar_or_manicdepression                    34140   34140
mhd.posttraumatic_stress_disorder_ptsd                            34140   34140
autism_spectrum_disorder                                          34140   34140
mhd.attention_deficit_hyperactivity_disorder                      34140   34140
mhd.personality_disorder                                          34140   34140
control                                                           1.708   34140

Create the correlation matrix plot using the corrplot package

Warning: Ignoring unknown parameters: binwidth

Warning: Ignoring unknown parameters: binwidth

100% bar per diagnosis with percentages of contribution per sample

Warning: Ignoring unknown parameters: binwidth

Ethnicity should be recoded European Mixed or multiple ethnic origins African or African British Asian or Asian British Arab
Warning: Ignoring unknown parameters: binwidth

Create additional datasets for analyses

Filter data frame to create 2 additional datasets. Additional exclusion criteria (beyond those listed above) are specified below:

  1. Retrospective - baseline change anlyses
    1. Exclude individuals missing retrospective and/or baseline data
  2. Prepandemic - baseline change analyses i. Exclude individuals missing pandemic and/or baseline data ii. Exclude individuals with prepandemic data collected after 1st March.

Retro-baseline analyses Exclude individuals with NA for MHD, age, gender

[1] 24908   513

Prepan-baseline analyses Exclude individuals with NA for MHD, age, gender; exclude if prepan data collected after 1 March

[1] 12269   513

#ANALYSIS PLAN 1. Calculate mean change per disorder group i. Disorders (9) a. Rank the disorders by the size of the change ii. Sex iii. Age (13; RAMP; potentially collapse above 65 depending on group sizes) iv. Ethnicity groups (5; White European, Black (British), Asian, Arab, Mixed)

  1. Regression models (Regress covariates out of the change? Which?)
    1. Model 0: Disorders
    2. Model 1: Model 0 + Sex + Age + Ethnicity + Time registration and baseline
  2. Re-calculate change

  3. Re-rank the change again

  4. PCL:
    1. Calculate the total GLAD, COPING, RAMP baseline
    2. For each item:
      1. present percentages of how say that this is due to the pandemic
      2. Calculate a variable PCL pandemic score
      3. If one item is highly endorsed due to pandemic -> exclude in sensitivity analysis

1. Calculate mean change per group

2. Regression

Regress covariates out of the change? Which?

Model naming conventions: 0 - unadjusted 1 - adjusted a - hierarchical disorders b - overlapping disorder categories

++MD: We may want to exclude disorders from Model b that aren’t including in the hierarchy (e.g. ADHD, ASD)

Prepan-baseline change

GAD

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = gad.diff_score_base_prepan ~ Disorder_hierarchical, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-20.7483  -2.7483   0.2517   3.2517  21.2517 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                               -1.15672    0.47307  -2.445   0.0145
Disorder_hierarchicalAnxiety disorders     0.15999    0.52238   0.306   0.7594
Disorder_hierarchicalEating disorders     -0.39592    1.00646  -0.393   0.6941
Disorder_hierarchicalOCDs                  0.06663    0.70282   0.095   0.9245
Disorder_hierarchicalPTSD                 -0.07186    0.80759  -0.089   0.9291
Disorder_hierarchicalDepressive disorders  0.90500    0.47617   1.901   0.0574
Disorder_hierarchicalBipolar disorders     0.84278    0.51004   1.652   0.0985
                                           
(Intercept)                               *
Disorder_hierarchicalAnxiety disorders     
Disorder_hierarchicalEating disorders      
Disorder_hierarchicalOCDs                  
Disorder_hierarchicalPTSD                  
Disorder_hierarchicalDepressive disorders .
Disorder_hierarchicalBipolar disorders    .
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.476 on 11976 degrees of freedom
  (286 observations deleted due to missingness)
Multiple R-squared:  0.001675,  Adjusted R-squared:  0.001175 
F-statistic: 3.349 on 6 and 11976 DF,  p-value: 0.002683

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = gad.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-21.1127  -2.8624   0.3465   3.3070  21.6190 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -0.677946
anxiety_disordersAnxiety disorder                                                                                        -0.481112
depressive_disordersDepressive disorder                                                                                   0.790600
eating_disordersEating disorder                                                                                           0.179800
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.250516
psychotic_disordersPsychotic disorder                                                                                     0.229224
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.009784
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.149184
autism_spectrum_disorderAutism spectrum disorder                                                                          0.176205
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.818954
mhd.personality_disorderPersonality disorder                                                                             -0.157878
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.205982
anxiety_disordersAnxiety disorder                                                                                          0.154017
depressive_disordersDepressive disorder                                                                                    0.180915
eating_disordersEating disorder                                                                                            0.169462
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.158810
psychotic_disordersPsychotic disorder                                                                                      0.308814
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.215477
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.148815
autism_spectrum_disorderAutism spectrum disorder                                                                           0.307607
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.421177
mhd.personality_disorderPersonality disorder                                                                               0.207384
                                                                                                                         t value
(Intercept)                                                                                                               -3.291
anxiety_disordersAnxiety disorder                                                                                         -3.124
depressive_disordersDepressive disorder                                                                                    4.370
eating_disordersEating disorder                                                                                            1.061
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.577
psychotic_disordersPsychotic disorder                                                                                      0.742
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.045
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                1.002
autism_spectrum_disorderAutism spectrum disorder                                                                           0.573
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -1.944
mhd.personality_disorderPersonality disorder                                                                              -0.761
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               0.00100
anxiety_disordersAnxiety disorder                                                                                         0.00179
depressive_disordersDepressive disorder                                                                                  1.25e-05
eating_disordersEating disorder                                                                                           0.28871
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.11472
psychotic_disordersPsychotic disorder                                                                                     0.45794
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.96378
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.31613
autism_spectrum_disorderAutism spectrum disorder                                                                          0.56677
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.05187
mhd.personality_disorderPersonality disorder                                                                              0.44650
                                                                                                                            
(Intercept)                                                                                                              ** 
anxiety_disordersAnxiety disorder                                                                                        ** 
depressive_disordersDepressive disorder                                                                                  ***
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) .  
mhd.personality_disorderPersonality disorder                                                                                
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.517 on 11177 degrees of freedom
  (1081 observations deleted due to missingness)
Multiple R-squared:  0.00324,   Adjusted R-squared:  0.002348 
F-statistic: 3.633 on 10 and 11177 DF,  p-value: 7.519e-05

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = gad.diff_score_base_prepan ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-20.9969  -2.9849   0.1345   3.1050  21.9154 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                         -2.423258   0.579427
Disorder_hierarchicalAnxiety disorders              -0.018580   0.523491
Disorder_hierarchicalEating disorders               -0.574912   1.006822
Disorder_hierarchicalOCDs                           -0.161571   0.704196
Disorder_hierarchicalPTSD                           -0.328162   0.813085
Disorder_hierarchicalDepressive disorders            0.657639   0.478436
Disorder_hierarchicalBipolar disorders               0.652364   0.512767
Gender_collapsedFemale                               0.486747   0.133357
Gender_collapsedNon-binary/Self-defined              0.501776   0.387863
age_category19-25                                    0.550116   0.347180
age_category26-35                                    0.474645   0.334154
age_category36-45                                    0.714124   0.336905
age_category46-55                                    0.517471   0.334847
age_category56-65                                    0.693565   0.342804
age_category66-70                                    0.323186   0.419024
age_category71-75                                    0.231426   0.488130
age_category76-80                                    0.928871   0.853276
age_category81-85                                    1.098542   1.759082
age_category86-90                                   -5.811560   5.484523
Ethnicity_collapsedMixed or multiple ethnic origins  0.227709   0.348855
Ethnicity_collapsedAsian or Asian British           -0.451540   0.574400
Ethnicity_collapsedAfrican or African British       -0.747289   0.836565
Ethnicity_collapsedOther                            -0.207157   0.547026
time_diff_sign_up_coping                             0.008929   0.002372
                                                    t value Pr(>|t|)    
(Intercept)                                          -4.182 2.91e-05 ***
Disorder_hierarchicalAnxiety disorders               -0.035 0.971688    
Disorder_hierarchicalEating disorders                -0.571 0.567999    
Disorder_hierarchicalOCDs                            -0.229 0.818531    
Disorder_hierarchicalPTSD                            -0.404 0.686513    
Disorder_hierarchicalDepressive disorders             1.375 0.169294    
Disorder_hierarchicalBipolar disorders                1.272 0.203312    
Gender_collapsedFemale                                3.650 0.000263 ***
Gender_collapsedNon-binary/Self-defined               1.294 0.195796    
age_category19-25                                     1.585 0.113101    
age_category26-35                                     1.420 0.155506    
age_category36-45                                     2.120 0.034056 *  
age_category46-55                                     1.545 0.122277    
age_category56-65                                     2.023 0.043074 *  
age_category66-70                                     0.771 0.440555    
age_category71-75                                     0.474 0.635432    
age_category76-80                                     1.089 0.276355    
age_category81-85                                     0.624 0.532313    
age_category86-90                                    -1.060 0.289335    
Ethnicity_collapsedMixed or multiple ethnic origins   0.653 0.513942    
Ethnicity_collapsedAsian or Asian British            -0.786 0.431820    
Ethnicity_collapsedAfrican or African British        -0.893 0.371723    
Ethnicity_collapsedOther                             -0.379 0.704920    
time_diff_sign_up_coping                              3.764 0.000168 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.471 on 11934 degrees of freedom
  (311 observations deleted due to missingness)
Multiple R-squared:  0.004991,  Adjusted R-squared:  0.003073 
F-statistic: 2.602 on 23 and 11934 DF,  p-value: 4.138e-05

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = gad.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-21.027  -3.028   0.172   3.160  21.454 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -1.920102
anxiety_disordersAnxiety disorder                                                                                        -0.630410
depressive_disordersDepressive disorder                                                                                   0.727341
eating_disordersEating disorder                                                                                           0.135195
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.258510
psychotic_disordersPsychotic disorder                                                                                     0.276824
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.058358
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.133911
autism_spectrum_disorderAutism spectrum disorder                                                                          0.278387
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.775452
mhd.personality_disorderPersonality disorder                                                                             -0.185608
Gender_collapsedFemale                                                                                                    0.498306
Gender_collapsedNon-binary/Self-defined                                                                                   0.467729
age_category19-25                                                                                                         0.485035
age_category26-35                                                                                                         0.441231
age_category36-45                                                                                                         0.608442
age_category46-55                                                                                                         0.400847
age_category56-65                                                                                                         0.576767
age_category66-70                                                                                                         0.148699
age_category71-75                                                                                                         0.079781
age_category76-80                                                                                                         1.055729
age_category81-85                                                                                                         0.884692
age_category86-90                                                                                                        -6.109481
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.282098
Ethnicity_collapsedAsian or Asian British                                                                                -0.387174
Ethnicity_collapsedAfrican or African British                                                                            -1.232260
Ethnicity_collapsedOther                                                                                                 -0.163849
time_diff_sign_up_coping                                                                                                  0.009252
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.398283
anxiety_disordersAnxiety disorder                                                                                          0.158991
depressive_disordersDepressive disorder                                                                                    0.182421
eating_disordersEating disorder                                                                                            0.170722
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.159225
psychotic_disordersPsychotic disorder                                                                                      0.310072
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.216325
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.149747
autism_spectrum_disorderAutism spectrum disorder                                                                           0.312065
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.422427
mhd.personality_disorderPersonality disorder                                                                               0.208374
Gender_collapsedFemale                                                                                                     0.142307
Gender_collapsedNon-binary/Self-defined                                                                                    0.403829
age_category19-25                                                                                                          0.348509
age_category26-35                                                                                                          0.335181
age_category36-45                                                                                                          0.338745
age_category46-55                                                                                                          0.336945
age_category56-65                                                                                                          0.345996
age_category66-70                                                                                                          0.428273
age_category71-75                                                                                                          0.504937
age_category76-80                                                                                                          0.929374
age_category81-85                                                                                                          1.975261
age_category86-90                                                                                                          5.533252
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.366450
Ethnicity_collapsedAsian or Asian British                                                                                  0.594985
Ethnicity_collapsedAfrican or African British                                                                              0.896644
Ethnicity_collapsedOther                                                                                                   0.562732
time_diff_sign_up_coping                                                                                                   0.002547
                                                                                                                         t value
(Intercept)                                                                                                               -4.821
anxiety_disordersAnxiety disorder                                                                                         -3.965
depressive_disordersDepressive disorder                                                                                    3.987
eating_disordersEating disorder                                                                                            0.792
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.624
psychotic_disordersPsychotic disorder                                                                                      0.893
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.270
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.894
autism_spectrum_disorderAutism spectrum disorder                                                                           0.892
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -1.836
mhd.personality_disorderPersonality disorder                                                                              -0.891
Gender_collapsedFemale                                                                                                     3.502
Gender_collapsedNon-binary/Self-defined                                                                                    1.158
age_category19-25                                                                                                          1.392
age_category26-35                                                                                                          1.316
age_category36-45                                                                                                          1.796
age_category46-55                                                                                                          1.190
age_category56-65                                                                                                          1.667
age_category66-70                                                                                                          0.347
age_category71-75                                                                                                          0.158
age_category76-80                                                                                                          1.136
age_category81-85                                                                                                          0.448
age_category86-90                                                                                                         -1.104
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.770
Ethnicity_collapsedAsian or Asian British                                                                                 -0.651
Ethnicity_collapsedAfrican or African British                                                                             -1.374
Ethnicity_collapsedOther                                                                                                  -0.291
time_diff_sign_up_coping                                                                                                   3.633
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              1.45e-06
anxiety_disordersAnxiety disorder                                                                                        7.38e-05
depressive_disordersDepressive disorder                                                                                  6.73e-05
eating_disordersEating disorder                                                                                          0.428436
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.104500
psychotic_disordersPsychotic disorder                                                                                    0.371998
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.787342
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              0.371211
autism_spectrum_disorderAutism spectrum disorder                                                                         0.372370
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.066428
mhd.personality_disorderPersonality disorder                                                                             0.373086
Gender_collapsedFemale                                                                                                   0.000464
Gender_collapsedNon-binary/Self-defined                                                                                  0.246793
age_category19-25                                                                                                        0.164028
age_category26-35                                                                                                        0.188068
age_category36-45                                                                                                        0.072496
age_category46-55                                                                                                        0.234208
age_category56-65                                                                                                        0.095547
age_category66-70                                                                                                        0.728444
age_category71-75                                                                                                        0.874458
age_category76-80                                                                                                        0.255999
age_category81-85                                                                                                        0.654244
age_category86-90                                                                                                        0.269557
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      0.441427
Ethnicity_collapsedAsian or Asian British                                                                                0.515235
Ethnicity_collapsedAfrican or African British                                                                            0.169375
Ethnicity_collapsedOther                                                                                                 0.770929
time_diff_sign_up_coping                                                                                                 0.000282
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                  ***
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) .  
mhd.personality_disorderPersonality disorder                                                                                
Gender_collapsedFemale                                                                                                   ***
Gender_collapsedNon-binary/Self-defined                                                                                     
age_category19-25                                                                                                           
age_category26-35                                                                                                           
age_category36-45                                                                                                        .  
age_category46-55                                                                                                           
age_category56-65                                                                                                        .  
age_category66-70                                                                                                           
age_category71-75                                                                                                           
age_category76-80                                                                                                           
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.512 on 11136 degrees of freedom
  (1105 observations deleted due to missingness)
Multiple R-squared:  0.006712,  Adjusted R-squared:  0.004303 
F-statistic: 2.787 on 27 and 11136 DF,  p-value: 2.057e-06

PHQ

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = phq.diff_score_base_prepan ~ Disorder_hierarchical, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-24.5868  -3.5868   0.4132   3.4132  24.4132 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                -1.6466     0.5011  -3.286 0.001020
Disorder_hierarchicalAnxiety disorders      1.8597     0.5531   3.362 0.000775
Disorder_hierarchicalEating disorders       0.3308     1.0631   0.311 0.755656
Disorder_hierarchicalOCDs                   1.8252     0.7412   2.462 0.013812
Disorder_hierarchicalPTSD                   1.2408     0.8575   1.447 0.147895
Disorder_hierarchicalDepressive disorders   1.2335     0.5044   2.445 0.014484
Disorder_hierarchicalBipolar disorders      0.7843     0.5402   1.452 0.146595
                                             
(Intercept)                               ** 
Disorder_hierarchicalAnxiety disorders    ***
Disorder_hierarchicalEating disorders        
Disorder_hierarchicalOCDs                 *  
Disorder_hierarchicalPTSD                    
Disorder_hierarchicalDepressive disorders *  
Disorder_hierarchicalBipolar disorders       
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.779 on 11961 degrees of freedom
  (301 observations deleted due to missingness)
Multiple R-squared:  0.00169,   Adjusted R-squared:  0.001189 
F-statistic: 3.374 on 6 and 11961 DF,  p-value: 0.002517

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = phq.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-24.563  -3.484   0.437   3.437  24.815 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                              -0.51642
anxiety_disordersAnxiety disorder                                                                                         0.37825
depressive_disordersDepressive disorder                                                                                  -0.29887
eating_disordersEating disorder                                                                                           0.37315
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.01142
psychotic_disordersPsychotic disorder                                                                                    -0.08607
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.42026
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -0.16581
autism_spectrum_disorderAutism spectrum disorder                                                                          0.37863
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.04209
mhd.personality_disorderPersonality disorder                                                                             -0.02763
                                                                                                                         Std. Error
(Intercept)                                                                                                                 0.21564
anxiety_disordersAnxiety disorder                                                                                           0.16102
depressive_disordersDepressive disorder                                                                                     0.18924
eating_disordersEating disorder                                                                                             0.17727
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.16608
psychotic_disordersPsychotic disorder                                                                                       0.32362
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.22542
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 0.15547
autism_spectrum_disorderAutism spectrum disorder                                                                            0.32172
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    0.43986
mhd.personality_disorderPersonality disorder                                                                                0.21688
                                                                                                                         t value
(Intercept)                                                                                                               -2.395
anxiety_disordersAnxiety disorder                                                                                          2.349
depressive_disordersDepressive disorder                                                                                   -1.579
eating_disordersEating disorder                                                                                            2.105
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -0.069
psychotic_disordersPsychotic disorder                                                                                     -0.266
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -1.864
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -1.067
autism_spectrum_disorderAutism spectrum disorder                                                                           1.177
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.096
mhd.personality_disorderPersonality disorder                                                                              -0.127
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                                0.0166
anxiety_disordersAnxiety disorder                                                                                          0.0188
depressive_disordersDepressive disorder                                                                                    0.1143
eating_disordersEating disorder                                                                                            0.0353
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.9452
psychotic_disordersPsychotic disorder                                                                                      0.7903
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.0623
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.2862
autism_spectrum_disorderAutism spectrum disorder                                                                           0.2393
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.9238
mhd.personality_disorderPersonality disorder                                                                               0.8986
                                                                                                                          
(Intercept)                                                                                                              *
anxiety_disordersAnxiety disorder                                                                                        *
depressive_disordersDepressive disorder                                                                                   
eating_disordersEating disorder                                                                                          *
obsessive_compulsive_disordersObsessive compulsive disorder                                                               
psychotic_disordersPsychotic disorder                                                                                     
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              .
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               
autism_spectrum_disorderAutism spectrum disorder                                                                          
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  
mhd.personality_disorderPersonality disorder                                                                              
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.761 on 11162 degrees of freedom
  (1096 observations deleted due to missingness)
Multiple R-squared:  0.001643,  Adjusted R-squared:  0.0007488 
F-statistic: 1.837 on 10 and 11162 DF,  p-value: 0.04914

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = phq.diff_score_base_prepan ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-24.8465  -3.2254   0.2531   3.3837  25.5056 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                         -2.249115   0.612044
Disorder_hierarchicalAnxiety disorders               1.573095   0.553366
Disorder_hierarchicalEating disorders                0.094840   1.061654
Disorder_hierarchicalOCDs                            1.453523   0.741389
Disorder_hierarchicalPTSD                            0.835491   0.861514
Disorder_hierarchicalDepressive disorders            0.925807   0.505980
Disorder_hierarchicalBipolar disorders               0.535877   0.542231
Gender_collapsedFemale                               0.338109   0.140580
Gender_collapsedNon-binary/Self-defined              0.104246   0.409441
age_category19-25                                   -0.133917   0.365806
age_category26-35                                   -0.246614   0.352078
age_category36-45                                   -0.178809   0.354994
age_category46-55                                   -0.467437   0.352778
age_category56-65                                   -0.450868   0.361280
age_category66-70                                   -0.405555   0.441064
age_category71-75                                   -0.532239   0.515624
age_category76-80                                   -0.349945   0.898456
age_category81-85                                   -0.287212   1.853330
age_category86-90                                    2.210985   5.778395
Ethnicity_collapsedMixed or multiple ethnic origins -0.051586   0.368284
Ethnicity_collapsedAsian or Asian British           -1.149148   0.605184
Ethnicity_collapsedAfrican or African British       -0.589847   0.881390
Ethnicity_collapsedOther                            -0.455568   0.576339
time_diff_sign_up_coping                             0.015314   0.002503
                                                    t value Pr(>|t|)    
(Intercept)                                          -3.675 0.000239 ***
Disorder_hierarchicalAnxiety disorders                2.843 0.004480 ** 
Disorder_hierarchicalEating disorders                 0.089 0.928820    
Disorder_hierarchicalOCDs                             1.961 0.049956 *  
Disorder_hierarchicalPTSD                             0.970 0.332169    
Disorder_hierarchicalDepressive disorders             1.830 0.067315 .  
Disorder_hierarchicalBipolar disorders                0.988 0.323035    
Gender_collapsedFemale                                2.405 0.016183 *  
Gender_collapsedNon-binary/Self-defined               0.255 0.799033    
age_category19-25                                    -0.366 0.714307    
age_category26-35                                    -0.700 0.483658    
age_category36-45                                    -0.504 0.614484    
age_category46-55                                    -1.325 0.185190    
age_category56-65                                    -1.248 0.212066    
age_category66-70                                    -0.919 0.357856    
age_category71-75                                    -1.032 0.301988    
age_category76-80                                    -0.389 0.696916    
age_category81-85                                    -0.155 0.876847    
age_category86-90                                     0.383 0.702001    
Ethnicity_collapsedMixed or multiple ethnic origins  -0.140 0.888606    
Ethnicity_collapsedAsian or Asian British            -1.899 0.057610 .  
Ethnicity_collapsedAfrican or African British        -0.669 0.503366    
Ethnicity_collapsedOther                             -0.790 0.429280    
time_diff_sign_up_coping                              6.118 9.76e-10 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.764 on 11919 degrees of freedom
  (326 observations deleted due to missingness)
Multiple R-squared:  0.00653,   Adjusted R-squared:  0.004613 
F-statistic: 3.406 on 23 and 11919 DF,  p-value: 6.301e-08

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = phq.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-24.7973  -3.2506   0.2694   3.3992  25.5724 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -1.153330
anxiety_disordersAnxiety disorder                                                                                         0.120456
depressive_disordersDepressive disorder                                                                                  -0.317362
eating_disordersEating disorder                                                                                           0.335742
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.033281
psychotic_disordersPsychotic disorder                                                                                    -0.064043
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.397319
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -0.137892
autism_spectrum_disorderAutism spectrum disorder                                                                          0.409885
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.077615
mhd.personality_disorderPersonality disorder                                                                             -0.057162
Gender_collapsedFemale                                                                                                    0.288121
Gender_collapsedNon-binary/Self-defined                                                                                  -0.118707
age_category19-25                                                                                                        -0.060117
age_category26-35                                                                                                        -0.108960
age_category36-45                                                                                                        -0.076185
age_category46-55                                                                                                        -0.351269
age_category56-65                                                                                                        -0.352052
age_category66-70                                                                                                        -0.318618
age_category71-75                                                                                                        -0.591734
age_category76-80                                                                                                         0.217498
age_category81-85                                                                                                         0.314935
age_category86-90                                                                                                         2.370511
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      -0.032641
Ethnicity_collapsedAsian or Asian British                                                                                -1.263305
Ethnicity_collapsedAfrican or African British                                                                            -1.130122
Ethnicity_collapsedOther                                                                                                 -0.404167
time_diff_sign_up_coping                                                                                                  0.014271
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.415742
anxiety_disordersAnxiety disorder                                                                                          0.166029
depressive_disordersDepressive disorder                                                                                    0.190539
eating_disordersEating disorder                                                                                            0.178413
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.166352
psychotic_disordersPsychotic disorder                                                                                      0.324669
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.226080
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.156307
autism_spectrum_disorderAutism spectrum disorder                                                                           0.326118
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.440755
mhd.personality_disorderPersonality disorder                                                                               0.217723
Gender_collapsedFemale                                                                                                     0.148532
Gender_collapsedNon-binary/Self-defined                                                                                    0.422166
age_category19-25                                                                                                          0.363634
age_category26-35                                                                                                          0.349724
age_category36-45                                                                                                          0.353463
age_category46-55                                                                                                          0.351540
age_category56-65                                                                                                          0.361109
age_category66-70                                                                                                          0.446356
age_category71-75                                                                                                          0.530097
age_category76-80                                                                                                          0.959198
age_category81-85                                                                                                          2.060793
age_category86-90                                                                                                          5.772976
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.383137
Ethnicity_collapsedAsian or Asian British                                                                                  0.620751
Ethnicity_collapsedAfrican or African British                                                                              0.935473
Ethnicity_collapsedOther                                                                                                   0.590093
time_diff_sign_up_coping                                                                                                   0.002661
                                                                                                                         t value
(Intercept)                                                                                                               -2.774
anxiety_disordersAnxiety disorder                                                                                          0.726
depressive_disordersDepressive disorder                                                                                   -1.666
eating_disordersEating disorder                                                                                            1.882
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -0.200
psychotic_disordersPsychotic disorder                                                                                     -0.197
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -1.757
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -0.882
autism_spectrum_disorderAutism spectrum disorder                                                                           1.257
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.176
mhd.personality_disorderPersonality disorder                                                                              -0.263
Gender_collapsedFemale                                                                                                     1.940
Gender_collapsedNon-binary/Self-defined                                                                                   -0.281
age_category19-25                                                                                                         -0.165
age_category26-35                                                                                                         -0.312
age_category36-45                                                                                                         -0.216
age_category46-55                                                                                                         -0.999
age_category56-65                                                                                                         -0.975
age_category66-70                                                                                                         -0.714
age_category71-75                                                                                                         -1.116
age_category76-80                                                                                                          0.227
age_category81-85                                                                                                          0.153
age_category86-90                                                                                                          0.411
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       -0.085
Ethnicity_collapsedAsian or Asian British                                                                                 -2.035
Ethnicity_collapsedAfrican or African British                                                                             -1.208
Ethnicity_collapsedOther                                                                                                  -0.685
time_diff_sign_up_coping                                                                                                   5.363
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               0.00554
anxiety_disordersAnxiety disorder                                                                                         0.46815
depressive_disordersDepressive disorder                                                                                   0.09582
eating_disordersEating disorder                                                                                           0.05989
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.84143
psychotic_disordersPsychotic disorder                                                                                     0.84363
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.07887
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.37770
autism_spectrum_disorderAutism spectrum disorder                                                                          0.20883
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.86022
mhd.personality_disorderPersonality disorder                                                                              0.79290
Gender_collapsedFemale                                                                                                    0.05243
Gender_collapsedNon-binary/Self-defined                                                                                   0.77857
age_category19-25                                                                                                         0.86869
age_category26-35                                                                                                         0.75538
age_category36-45                                                                                                         0.82935
age_category46-55                                                                                                         0.31770
age_category56-65                                                                                                         0.32962
age_category66-70                                                                                                         0.47535
age_category71-75                                                                                                         0.26433
age_category76-80                                                                                                         0.82062
age_category81-85                                                                                                         0.87854
age_category86-90                                                                                                         0.68136
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.93211
Ethnicity_collapsedAsian or Asian British                                                                                 0.04186
Ethnicity_collapsedAfrican or African British                                                                             0.22704
Ethnicity_collapsedOther                                                                                                  0.49341
time_diff_sign_up_coping                                                                                                 8.34e-08
                                                                                                                            
(Intercept)                                                                                                              ** 
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                  .  
eating_disordersEating disorder                                                                                          .  
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              .  
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                                
Gender_collapsedFemale                                                                                                   .  
Gender_collapsedNon-binary/Self-defined                                                                                     
age_category19-25                                                                                                           
age_category26-35                                                                                                           
age_category36-45                                                                                                           
age_category46-55                                                                                                           
age_category56-65                                                                                                           
age_category66-70                                                                                                           
age_category71-75                                                                                                           
age_category76-80                                                                                                           
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         
Ethnicity_collapsedAsian or Asian British                                                                                *  
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.751 on 11122 degrees of freedom
  (1119 observations deleted due to missingness)
Multiple R-squared:  0.00605,   Adjusted R-squared:  0.003637 
F-statistic: 2.507 on 27 and 11122 DF,  p-value: 2.48e-05

PCL

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = pcl.diff_score_base_prepan ~ Disorder_hierarchical, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.2287  -3.2287  -0.2287   3.7713  23.7713 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                0.26087    0.48355   0.539   0.5896
Disorder_hierarchicalAnxiety disorders    -0.07191    0.53645  -0.134   0.8934
Disorder_hierarchicalEating disorders     -1.30254    0.82581  -1.577   0.1148
Disorder_hierarchicalOCDs                 -0.10121    0.71061  -0.142   0.8867
Disorder_hierarchicalPTSD                 -1.93693    0.82962  -2.335   0.0196
Disorder_hierarchicalDepressive disorders -0.03218    0.48681  -0.066   0.9473
Disorder_hierarchicalBipolar disorders    -0.24384    0.52256  -0.467   0.6408
                                           
(Intercept)                                
Disorder_hierarchicalAnxiety disorders     
Disorder_hierarchicalEating disorders      
Disorder_hierarchicalOCDs                  
Disorder_hierarchicalPTSD                 *
Disorder_hierarchicalDepressive disorders  
Disorder_hierarchicalBipolar disorders     
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.68 on 11997 degrees of freedom
  (265 observations deleted due to missingness)
Multiple R-squared:  0.001024,  Adjusted R-squared:  0.0005249 
F-statistic: 2.051 on 6 and 11997 DF,  p-value: 0.05562

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = pcl.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.4151  -3.4151  -0.1724   3.5849  23.5849 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -0.007252
anxiety_disordersAnxiety disorder                                                                                         0.179657
depressive_disordersDepressive disorder                                                                                   0.242657
eating_disordersEating disorder                                                                                          -0.051726
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.056354
psychotic_disordersPsychotic disorder                                                                                    -0.278782
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.023117
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -0.874966
autism_spectrum_disorderAutism spectrum disorder                                                                         -0.115056
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.291634
mhd.personality_disorderPersonality disorder                                                                             -0.298304
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.206648
anxiety_disordersAnxiety disorder                                                                                          0.157065
depressive_disordersDepressive disorder                                                                                    0.183602
eating_disordersEating disorder                                                                                            0.168023
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.162445
psychotic_disordersPsychotic disorder                                                                                      0.318681
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.222336
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.153414
autism_spectrum_disorderAutism spectrum disorder                                                                           0.316187
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.432957
mhd.personality_disorderPersonality disorder                                                                               0.212192
                                                                                                                         t value
(Intercept)                                                                                                               -0.035
anxiety_disordersAnxiety disorder                                                                                          1.144
depressive_disordersDepressive disorder                                                                                    1.322
eating_disordersEating disorder                                                                                           -0.308
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -0.347
psychotic_disordersPsychotic disorder                                                                                     -0.875
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.104
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -5.703
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.364
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -0.674
mhd.personality_disorderPersonality disorder                                                                              -1.406
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                                 0.972
anxiety_disordersAnxiety disorder                                                                                           0.253
depressive_disordersDepressive disorder                                                                                     0.186
eating_disordersEating disorder                                                                                             0.758
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.729
psychotic_disordersPsychotic disorder                                                                                       0.382
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.917
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               1.2e-08
autism_spectrum_disorderAutism spectrum disorder                                                                            0.716
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    0.501
mhd.personality_disorderPersonality disorder                                                                                0.160
                                                                                                                            
(Intercept)                                                                                                                 
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                                
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.677 on 11203 degrees of freedom
  (1055 observations deleted due to missingness)
Multiple R-squared:  0.004011,  Adjusted R-squared:  0.003121 
F-statistic: 4.511 on 10 and 11203 DF,  p-value: 2.142e-06

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = pcl.diff_score_base_prepan ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.5843  -3.3163   0.0444   3.4619  23.5330 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                         -0.362629   0.590919
Disorder_hierarchicalAnxiety disorders              -0.260439   0.536682
Disorder_hierarchicalEating disorders               -1.371880   0.825415
Disorder_hierarchicalOCDs                           -0.413249   0.710469
Disorder_hierarchicalPTSD                           -2.077639   0.833419
Disorder_hierarchicalDepressive disorders           -0.171878   0.488362
Disorder_hierarchicalBipolar disorders              -0.295706   0.524483
Gender_collapsedFemale                               0.556867   0.138906
Gender_collapsedNon-binary/Self-defined              0.024400   0.400923
age_category19-25                                    0.268944   0.354368
age_category26-35                                   -0.114714   0.341905
age_category36-45                                   -0.495751   0.344802
age_category46-55                                   -0.654719   0.342795
age_category56-65                                   -0.334058   0.351301
age_category66-70                                   -0.457634   0.429793
age_category71-75                                   -0.438587   0.505277
age_category76-80                                    0.095012   0.866092
age_category81-85                                    0.317048   1.915184
age_category86-90                                    2.993283   5.676034
Ethnicity_collapsedMixed or multiple ethnic origins  0.381861   0.360339
Ethnicity_collapsedAsian or Asian British           -0.300989   0.607725
Ethnicity_collapsedAfrican or African British       -0.256320   0.865807
Ethnicity_collapsedOther                            -0.854217   0.563421
time_diff_sign_up_coping                             0.010093   0.002401
                                                    t value Pr(>|t|)    
(Intercept)                                          -0.614   0.5394    
Disorder_hierarchicalAnxiety disorders               -0.485   0.6275    
Disorder_hierarchicalEating disorders                -1.662   0.0965 .  
Disorder_hierarchicalOCDs                            -0.582   0.5608    
Disorder_hierarchicalPTSD                            -2.493   0.0127 *  
Disorder_hierarchicalDepressive disorders            -0.352   0.7249    
Disorder_hierarchicalBipolar disorders               -0.564   0.5729    
Gender_collapsedFemale                                4.009 6.14e-05 ***
Gender_collapsedNon-binary/Self-defined               0.061   0.9515    
age_category19-25                                     0.759   0.4479    
age_category26-35                                    -0.336   0.7372    
age_category36-45                                    -1.438   0.1505    
age_category46-55                                    -1.910   0.0562 .  
age_category56-65                                    -0.951   0.3417    
age_category66-70                                    -1.065   0.2870    
age_category71-75                                    -0.868   0.3854    
age_category76-80                                     0.110   0.9126    
age_category81-85                                     0.166   0.8685    
age_category86-90                                     0.527   0.5980    
Ethnicity_collapsedMixed or multiple ethnic origins   1.060   0.2893    
Ethnicity_collapsedAsian or Asian British            -0.495   0.6204    
Ethnicity_collapsedAfrican or African British        -0.296   0.7672    
Ethnicity_collapsedOther                             -1.516   0.1295    
time_diff_sign_up_coping                              4.203 2.65e-05 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.662 on 11956 degrees of freedom
  (289 observations deleted due to missingness)
Multiple R-squared:  0.007534,  Adjusted R-squared:  0.005625 
F-statistic: 3.946 on 23 and 11956 DF,  p-value: 5.861e-10

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = pcl.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.6095  -3.3212   0.0331   3.4827  23.3112 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -0.628630
anxiety_disordersAnxiety disorder                                                                                        -0.029294
depressive_disordersDepressive disorder                                                                                   0.289011
eating_disordersEating disorder                                                                                          -0.138030
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.095357
psychotic_disordersPsychotic disorder                                                                                    -0.223021
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.058973
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -0.818255
autism_spectrum_disorderAutism spectrum disorder                                                                         -0.109253
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.243593
mhd.personality_disorderPersonality disorder                                                                             -0.380449
Gender_collapsedFemale                                                                                                    0.650138
Gender_collapsedNon-binary/Self-defined                                                                                   0.156972
age_category19-25                                                                                                         0.168857
age_category26-35                                                                                                        -0.125264
age_category36-45                                                                                                        -0.574463
age_category46-55                                                                                                        -0.637746
age_category56-65                                                                                                        -0.377668
age_category66-70                                                                                                        -0.589324
age_category71-75                                                                                                        -0.637129
age_category76-80                                                                                                         0.178460
age_category81-85                                                                                                        -0.330180
age_category86-90                                                                                                         2.779769
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.407894
Ethnicity_collapsedAsian or Asian British                                                                                 0.068416
Ethnicity_collapsedAfrican or African British                                                                            -0.301548
Ethnicity_collapsedOther                                                                                                 -0.429077
time_diff_sign_up_coping                                                                                                  0.009615
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.401595
anxiety_disordersAnxiety disorder                                                                                          0.162063
depressive_disordersDepressive disorder                                                                                    0.184949
eating_disordersEating disorder                                                                                            0.169628
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.162501
psychotic_disordersPsychotic disorder                                                                                      0.318846
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.222722
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.153988
autism_spectrum_disorderAutism spectrum disorder                                                                           0.320012
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.433400
mhd.personality_disorderPersonality disorder                                                                               0.212760
Gender_collapsedFemale                                                                                                     0.147101
Gender_collapsedNon-binary/Self-defined                                                                                    0.414024
age_category19-25                                                                                                          0.352877
age_category26-35                                                                                                          0.340373
age_category36-45                                                                                                          0.344060
age_category46-55                                                                                                          0.342438
age_category56-65                                                                                                          0.351975
age_category66-70                                                                                                          0.436389
age_category71-75                                                                                                          0.519210
age_category76-80                                                                                                          0.932424
age_category81-85                                                                                                          2.164101
age_category86-90                                                                                                          5.681228
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.375511
Ethnicity_collapsedAsian or Asian British                                                                                  0.625290
Ethnicity_collapsedAfrican or African British                                                                              0.920615
Ethnicity_collapsedOther                                                                                                   0.574868
time_diff_sign_up_coping                                                                                                   0.002557
                                                                                                                         t value
(Intercept)                                                                                                               -1.565
anxiety_disordersAnxiety disorder                                                                                         -0.181
depressive_disordersDepressive disorder                                                                                    1.563
eating_disordersEating disorder                                                                                           -0.814
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -0.587
psychotic_disordersPsychotic disorder                                                                                     -0.699
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.265
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -5.314
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.341
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -0.562
mhd.personality_disorderPersonality disorder                                                                              -1.788
Gender_collapsedFemale                                                                                                     4.420
Gender_collapsedNon-binary/Self-defined                                                                                    0.379
age_category19-25                                                                                                          0.479
age_category26-35                                                                                                         -0.368
age_category36-45                                                                                                         -1.670
age_category46-55                                                                                                         -1.862
age_category56-65                                                                                                         -1.073
age_category66-70                                                                                                         -1.350
age_category71-75                                                                                                         -1.227
age_category76-80                                                                                                          0.191
age_category81-85                                                                                                         -0.153
age_category86-90                                                                                                          0.489
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        1.086
Ethnicity_collapsedAsian or Asian British                                                                                  0.109
Ethnicity_collapsedAfrican or African British                                                                             -0.328
Ethnicity_collapsedOther                                                                                                  -0.746
time_diff_sign_up_coping                                                                                                   3.760
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              0.117534
anxiety_disordersAnxiety disorder                                                                                        0.856560
depressive_disordersDepressive disorder                                                                                  0.118162
eating_disordersEating disorder                                                                                          0.415822
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.557344
psychotic_disordersPsychotic disorder                                                                                    0.484278
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.791182
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              1.09e-07
autism_spectrum_disorderAutism spectrum disorder                                                                         0.732807
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.574093
mhd.personality_disorderPersonality disorder                                                                             0.073778
Gender_collapsedFemale                                                                                                   9.98e-06
Gender_collapsedNon-binary/Self-defined                                                                                  0.704592
age_category19-25                                                                                                        0.632293
age_category26-35                                                                                                        0.712865
age_category36-45                                                                                                        0.095015
age_category46-55                                                                                                        0.062578
age_category56-65                                                                                                        0.283296
age_category66-70                                                                                                        0.176897
age_category71-75                                                                                                        0.219807
age_category76-80                                                                                                        0.848221
age_category81-85                                                                                                        0.878739
age_category86-90                                                                                                        0.624646
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      0.277396
Ethnicity_collapsedAsian or Asian British                                                                                0.912876
Ethnicity_collapsedAfrican or African British                                                                            0.743258
Ethnicity_collapsedOther                                                                                                 0.455446
time_diff_sign_up_coping                                                                                                 0.000171
                                                                                                                            
(Intercept)                                                                                                                 
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                             .  
Gender_collapsedFemale                                                                                                   ***
Gender_collapsedNon-binary/Self-defined                                                                                     
age_category19-25                                                                                                           
age_category26-35                                                                                                           
age_category36-45                                                                                                        .  
age_category46-55                                                                                                        .  
age_category56-65                                                                                                           
age_category66-70                                                                                                           
age_category71-75                                                                                                           
age_category76-80                                                                                                           
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.66 on 11163 degrees of freedom
  (1078 observations deleted due to missingness)
Multiple R-squared:  0.01043,   Adjusted R-squared:  0.008035 
F-statistic: 4.357 on 27 and 11163 DF,  p-value: 3.349e-13

OCIR

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = ocir.diff_score_base_prepan ~ Disorder_hierarchical, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-31.898  -5.898   1.102   6.520  42.102 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                 20.000      6.185   3.233  0.00131
Disorder_hierarchicalAnxiety disorders     -10.067      6.776  -1.486  0.13805
Disorder_hierarchicalEating disorders       -8.000      9.780  -0.818  0.41378
Disorder_hierarchicalOCDs                  -12.636      6.978  -1.811  0.07081
Disorder_hierarchicalPTSD                  -24.500      9.780  -2.505  0.01259
Disorder_hierarchicalDepressive disorders  -10.102      6.210  -1.627  0.10446
Disorder_hierarchicalBipolar disorders      -9.660      6.380  -1.514  0.13069
                                            
(Intercept)                               **
Disorder_hierarchicalAnxiety disorders      
Disorder_hierarchicalEating disorders       
Disorder_hierarchicalOCDs                 . 
Disorder_hierarchicalPTSD                 * 
Disorder_hierarchicalDepressive disorders   
Disorder_hierarchicalBipolar disorders      
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 10.71 on 455 degrees of freedom
  (11807 observations deleted due to missingness)
Multiple R-squared:  0.01526,   Adjusted R-squared:  0.002278 
F-statistic: 1.175 on 6 and 455 DF,  p-value: 0.3181

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = ocir.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-33.087  -6.127   0.747   6.272  41.721 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                              10.52188
anxiety_disordersAnxiety disorder                                                                                        -1.17378
depressive_disordersDepressive disorder                                                                                   1.73909
eating_disordersEating disorder                                                                                           0.08052
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -1.54001
psychotic_disordersPsychotic disorder                                                                                     3.51346
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.71669
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -3.88886
autism_spectrum_disorderAutism spectrum disorder                                                                         -0.60123
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  6.28835
mhd.personality_disorderPersonality disorder                                                                             -0.77301
                                                                                                                         Std. Error
(Intercept)                                                                                                                 2.32158
anxiety_disordersAnxiety disorder                                                                                           1.87531
depressive_disordersDepressive disorder                                                                                     1.84447
eating_disordersEating disorder                                                                                             1.38019
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 1.14044
psychotic_disordersPsychotic disorder                                                                                       2.40841
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 1.75304
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 1.26788
autism_spectrum_disorderAutism spectrum disorder                                                                            2.22896
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    3.34840
mhd.personality_disorderPersonality disorder                                                                                1.66329
                                                                                                                         t value
(Intercept)                                                                                                                4.532
anxiety_disordersAnxiety disorder                                                                                         -0.626
depressive_disordersDepressive disorder                                                                                    0.943
eating_disordersEating disorder                                                                                            0.058
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.350
psychotic_disordersPsychotic disorder                                                                                      1.459
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.409
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -3.067
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.270
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   1.878
mhd.personality_disorderPersonality disorder                                                                              -0.465
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              7.58e-06
anxiety_disordersAnxiety disorder                                                                                          0.5317
depressive_disordersDepressive disorder                                                                                    0.3463
eating_disordersEating disorder                                                                                            0.9535
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.1776
psychotic_disordersPsychotic disorder                                                                                      0.1453
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.6829
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.0023
autism_spectrum_disorderAutism spectrum disorder                                                                           0.7875
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.0611
mhd.personality_disorderPersonality disorder                                                                               0.6423
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ** 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) .  
mhd.personality_disorderPersonality disorder                                                                                
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 10.67 on 428 degrees of freedom
  (11830 observations deleted due to missingness)
Multiple R-squared:  0.04071,   Adjusted R-squared:  0.0183 
F-statistic: 1.816 on 10 and 428 DF,  p-value: 0.05574

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = ocir.diff_score_base_prepan ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-30.702  -5.699   0.712   6.798  40.822 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                          17.24665    6.69183
Disorder_hierarchicalAnxiety disorders               -9.73964    6.79211
Disorder_hierarchicalEating disorders                -8.96776    9.77997
Disorder_hierarchicalOCDs                           -11.86486    7.04393
Disorder_hierarchicalPTSD                           -23.56437    9.79454
Disorder_hierarchicalDepressive disorders           -10.63252    6.25189
Disorder_hierarchicalBipolar disorders              -10.73903    6.40976
Gender_collapsedFemale                               -1.70977    1.46948
Gender_collapsedNon-binary/Self-defined              -1.96897    2.92328
age_category19-25                                     3.69639    3.60955
age_category26-35                                     7.64003    3.54058
age_category36-45                                     7.48047    3.65965
age_category46-55                                     7.39657    3.62172
age_category56-65                                     5.83696    3.76057
age_category66-70                                     5.21854    4.68761
age_category71-75                                     8.09956    6.99997
Ethnicity_collapsedMixed or multiple ethnic origins   1.82653    3.13270
Ethnicity_collapsedAsian or Asian British           -25.78915    7.51138
Ethnicity_collapsedAfrican or African British        17.20320   11.09293
Ethnicity_collapsedOther                             -0.83889    4.41145
time_diff_sign_up_coping                             -0.02441    0.02729
                                                    t value Pr(>|t|)    
(Intercept)                                           2.577 0.010282 *  
Disorder_hierarchicalAnxiety disorders               -1.434 0.152291    
Disorder_hierarchicalEating disorders                -0.917 0.359669    
Disorder_hierarchicalOCDs                            -1.684 0.092810 .  
Disorder_hierarchicalPTSD                            -2.406 0.016545 *  
Disorder_hierarchicalDepressive disorders            -1.701 0.089706 .  
Disorder_hierarchicalBipolar disorders               -1.675 0.094561 .  
Gender_collapsedFemale                               -1.164 0.245245    
Gender_collapsedNon-binary/Self-defined              -0.674 0.500953    
age_category19-25                                     1.024 0.306368    
age_category26-35                                     2.158 0.031479 *  
age_category36-45                                     2.044 0.041543 *  
age_category46-55                                     2.042 0.041718 *  
age_category56-65                                     1.552 0.121345    
age_category66-70                                     1.113 0.266202    
age_category71-75                                     1.157 0.247864    
Ethnicity_collapsedMixed or multiple ethnic origins   0.583 0.560156    
Ethnicity_collapsedAsian or Asian British            -3.433 0.000652 ***
Ethnicity_collapsedAfrican or African British         1.551 0.121661    
Ethnicity_collapsedOther                             -0.190 0.849270    
time_diff_sign_up_coping                             -0.894 0.371676    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 10.53 on 441 degrees of freedom
  (11807 observations deleted due to missingness)
Multiple R-squared:  0.07735,   Adjusted R-squared:  0.03551 
F-statistic: 1.849 on 20 and 441 DF,  p-value: 0.01449

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = ocir.diff_score_base_prepan ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.prepan)

Residuals:
    Min      1Q  Median      3Q     Max 
-30.038  -6.491   1.033   6.649  40.495 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                                8.93643
anxiety_disordersAnxiety disorder                                                                                         -0.48428
depressive_disordersDepressive disorder                                                                                    1.01150
eating_disordersEating disorder                                                                                            0.12211
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.39049
psychotic_disordersPsychotic disorder                                                                                      2.46122
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.24906
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -3.53823
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.94116
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   5.65895
mhd.personality_disorderPersonality disorder                                                                              -0.30049
Gender_collapsedFemale                                                                                                    -2.18978
Gender_collapsedNon-binary/Self-defined                                                                                   -2.73724
age_category19-25                                                                                                          2.60163
age_category26-35                                                                                                          6.38164
age_category36-45                                                                                                          5.55614
age_category46-55                                                                                                          6.11510
age_category56-65                                                                                                          3.98262
age_category66-70                                                                                                          3.39671
age_category71-75                                                                                                          9.13625
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        3.42717
Ethnicity_collapsedAsian or Asian British                                                                                -22.92463
Ethnicity_collapsedAfrican or African British                                                                             16.13515
Ethnicity_collapsedOther                                                                                                  -1.45250
time_diff_sign_up_coping                                                                                                  -0.02346
                                                                                                                         Std. Error
(Intercept)                                                                                                                 4.20501
anxiety_disordersAnxiety disorder                                                                                           1.94130
depressive_disordersDepressive disorder                                                                                     1.85062
eating_disordersEating disorder                                                                                             1.40125
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 1.14656
psychotic_disordersPsychotic disorder                                                                                       2.43020
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 1.75924
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 1.29296
autism_spectrum_disorderAutism spectrum disorder                                                                            2.24557
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    3.35135
mhd.personality_disorderPersonality disorder                                                                                1.65936
Gender_collapsedFemale                                                                                                      1.59318
Gender_collapsedNon-binary/Self-defined                                                                                     3.08975
age_category19-25                                                                                                           3.57236
age_category26-35                                                                                                           3.53497
age_category36-45                                                                                                           3.64896
age_category46-55                                                                                                           3.63000
age_category56-65                                                                                                           3.77817
age_category66-70                                                                                                           4.70045
age_category71-75                                                                                                           6.29945
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         3.42194
Ethnicity_collapsedAsian or Asian British                                                                                   7.61272
Ethnicity_collapsedAfrican or African British                                                                              11.09722
Ethnicity_collapsedOther                                                                                                    4.40721
time_diff_sign_up_coping                                                                                                    0.02863
                                                                                                                         t value
(Intercept)                                                                                                                2.125
anxiety_disordersAnxiety disorder                                                                                         -0.249
depressive_disordersDepressive disorder                                                                                    0.547
eating_disordersEating disorder                                                                                            0.087
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.213
psychotic_disordersPsychotic disorder                                                                                      1.013
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.142
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -2.737
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.419
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   1.689
mhd.personality_disorderPersonality disorder                                                                              -0.181
Gender_collapsedFemale                                                                                                    -1.374
Gender_collapsedNon-binary/Self-defined                                                                                   -0.886
age_category19-25                                                                                                          0.728
age_category26-35                                                                                                          1.805
age_category36-45                                                                                                          1.523
age_category46-55                                                                                                          1.685
age_category56-65                                                                                                          1.054
age_category66-70                                                                                                          0.723
age_category71-75                                                                                                          1.450
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        1.002
Ethnicity_collapsedAsian or Asian British                                                                                 -3.011
Ethnicity_collapsedAfrican or African British                                                                              1.454
Ethnicity_collapsedOther                                                                                                  -0.330
time_diff_sign_up_coping                                                                                                  -0.819
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               0.03416
anxiety_disordersAnxiety disorder                                                                                         0.80313
depressive_disordersDepressive disorder                                                                                   0.58497
eating_disordersEating disorder                                                                                           0.93060
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.22592
psychotic_disordersPsychotic disorder                                                                                     0.31176
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.88749
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.00648
autism_spectrum_disorderAutism spectrum disorder                                                                          0.67535
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.09206
mhd.personality_disorderPersonality disorder                                                                              0.85639
Gender_collapsedFemale                                                                                                    0.17004
Gender_collapsedNon-binary/Self-defined                                                                                   0.37618
age_category19-25                                                                                                         0.46686
age_category26-35                                                                                                         0.07176
age_category36-45                                                                                                         0.12861
age_category46-55                                                                                                         0.09282
age_category56-65                                                                                                         0.29245
age_category66-70                                                                                                         0.47031
age_category71-75                                                                                                         0.14773
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.31716
Ethnicity_collapsedAsian or Asian British                                                                                 0.00276
Ethnicity_collapsedAfrican or African British                                                                             0.14671
Ethnicity_collapsedOther                                                                                                  0.74189
time_diff_sign_up_coping                                                                                                  0.41315
                                                                                                                           
(Intercept)                                                                                                              * 
anxiety_disordersAnxiety disorder                                                                                          
depressive_disordersDepressive disorder                                                                                    
eating_disordersEating disorder                                                                                            
obsessive_compulsive_disordersObsessive compulsive disorder                                                                
psychotic_disordersPsychotic disorder                                                                                      
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              **
autism_spectrum_disorderAutism spectrum disorder                                                                           
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) . 
mhd.personality_disorderPersonality disorder                                                                               
Gender_collapsedFemale                                                                                                     
Gender_collapsedNon-binary/Self-defined                                                                                    
age_category19-25                                                                                                          
age_category26-35                                                                                                        . 
age_category36-45                                                                                                          
age_category46-55                                                                                                        . 
age_category56-65                                                                                                          
age_category66-70                                                                                                          
age_category71-75                                                                                                          
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        
Ethnicity_collapsedAsian or Asian British                                                                                **
Ethnicity_collapsedAfrican or African British                                                                              
Ethnicity_collapsedOther                                                                                                   
time_diff_sign_up_coping                                                                                                   
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 10.51 on 414 degrees of freedom
  (11830 observations deleted due to missingness)
Multiple R-squared:  0.09911,   Adjusted R-squared:  0.04689 
F-statistic: 1.898 on 24 and 414 DF,  p-value: 0.006957

Retro-baseline change

GAD

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = gad.diff_score_base_retro ~ Disorder_hierarchical, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-24.4305  -2.5710  -0.4305   2.5695  18.4290 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                2.57100    0.07103  36.198  < 2e-16
Disorder_hierarchicalAnxiety disorders     0.87328    0.15613   5.593 2.26e-08
Disorder_hierarchicalEating disorders      0.44984    0.42249   1.065  0.28701
Disorder_hierarchicalOCDs                  1.17186    0.38441   3.048  0.00230
Disorder_hierarchicalPTSD                  1.01136    0.38983   2.594  0.00948
Disorder_hierarchicalDepressive disorders  0.85950    0.08446  10.176  < 2e-16
Disorder_hierarchicalBipolar disorders     0.81861    0.18583   4.405 1.06e-05
                                             
(Intercept)                               ***
Disorder_hierarchicalAnxiety disorders    ***
Disorder_hierarchicalEating disorders        
Disorder_hierarchicalOCDs                 ** 
Disorder_hierarchicalPTSD                 ** 
Disorder_hierarchicalDepressive disorders ***
Disorder_hierarchicalBipolar disorders    ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 4.998 on 19528 degrees of freedom
  (5373 observations deleted due to missingness)
Multiple R-squared:  0.005666,  Adjusted R-squared:  0.005361 
F-statistic: 18.55 on 6 and 19528 DF,  p-value: < 2.2e-16

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = gad.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-25.0995  -2.6158  -0.4668   2.5461  18.3842 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                               2.61580
anxiety_disordersAnxiety disorder                                                                                         0.70320
depressive_disordersDepressive disorder                                                                                   0.13494
eating_disordersEating disorder                                                                                           0.54311
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.02132
psychotic_disordersPsychotic disorder                                                                                    -0.18216
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.19659
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.42312
autism_spectrum_disorderAutism spectrum disorder                                                                          0.21803
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.01696
mhd.personality_disorderPersonality disorder                                                                              0.32157
                                                                                                                         Std. Error
(Intercept)                                                                                                                 0.06229
anxiety_disordersAnxiety disorder                                                                                           0.08894
depressive_disordersDepressive disorder                                                                                     0.09042
eating_disordersEating disorder                                                                                             0.13333
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.13160
psychotic_disordersPsychotic disorder                                                                                       0.26071
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.18998
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 0.12262
autism_spectrum_disorderAutism spectrum disorder                                                                            0.23774
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    0.31514
mhd.personality_disorderPersonality disorder                                                                                0.17624
                                                                                                                         t value
(Intercept)                                                                                                               41.996
anxiety_disordersAnxiety disorder                                                                                          7.907
depressive_disordersDepressive disorder                                                                                    1.492
eating_disordersEating disorder                                                                                            4.073
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.162
psychotic_disordersPsychotic disorder                                                                                     -0.699
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -1.035
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                3.451
autism_spectrum_disorderAutism spectrum disorder                                                                           0.917
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -0.054
mhd.personality_disorderPersonality disorder                                                                               1.825
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               < 2e-16
anxiety_disordersAnxiety disorder                                                                                        2.78e-15
depressive_disordersDepressive disorder                                                                                   0.13564
eating_disordersEating disorder                                                                                          4.65e-05
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.87129
psychotic_disordersPsychotic disorder                                                                                     0.48474
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.30078
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.00056
autism_spectrum_disorderAutism spectrum disorder                                                                          0.35911
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.95709
mhd.personality_disorderPersonality disorder                                                                              0.06807
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                          ***
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                             .  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 4.992 on 19305 degrees of freedom
  (5592 observations deleted due to missingness)
Multiple R-squared:  0.01027,   Adjusted R-squared:  0.009761 
F-statistic: 20.04 on 10 and 19305 DF,  p-value: < 2.2e-16

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = gad.diff_score_base_retro ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.9686  -2.8492  -0.1474   3.2537  19.3626 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                          1.471577   0.648175
Disorder_hierarchicalAnxiety disorders               0.882772   0.606997
Disorder_hierarchicalEating disorders                1.111804   0.920960
Disorder_hierarchicalOCDs                            0.722907   0.812669
Disorder_hierarchicalPTSD                            1.995868   0.915983
Disorder_hierarchicalDepressive disorders            1.080237   0.557778
Disorder_hierarchicalBipolar disorders               1.008924   0.596749
Gender_collapsedFemale                               0.707057   0.160730
Gender_collapsedNon-binary/Self-defined             -0.520287   0.435796
age_category19-25                                    0.852518   0.364533
age_category26-35                                    0.097053   0.352374
age_category36-45                                   -0.265287   0.356572
age_category46-55                                   -0.459124   0.355343
age_category56-65                                   -1.044638   0.367044
age_category66-70                                   -1.236478   0.480717
age_category71-75                                   -2.131025   0.583418
age_category76-80                                   -2.387735   1.066706
age_category81-85                                   -3.132864   3.166319
age_category86-90                                   -1.267115   5.467223
Ethnicity_collapsedMixed or multiple ethnic origins -0.981649   0.391539
Ethnicity_collapsedAsian or Asian British            0.034085   0.665439
Ethnicity_collapsedAfrican or African British       -1.118122   0.966458
Ethnicity_collapsedOther                            -0.225736   0.616574
time_diff_sign_up_coping                             0.007422   0.002440
                                                    t value Pr(>|t|)    
(Intercept)                                           2.270 0.023210 *  
Disorder_hierarchicalAnxiety disorders                1.454 0.145891    
Disorder_hierarchicalEating disorders                 1.207 0.227378    
Disorder_hierarchicalOCDs                             0.890 0.373733    
Disorder_hierarchicalPTSD                             2.179 0.029362 *  
Disorder_hierarchicalDepressive disorders             1.937 0.052816 .  
Disorder_hierarchicalBipolar disorders                1.691 0.090928 .  
Gender_collapsedFemale                                4.399  1.1e-05 ***
Gender_collapsedNon-binary/Self-defined              -1.194 0.232558    
age_category19-25                                     2.339 0.019375 *  
age_category26-35                                     0.275 0.782994    
age_category36-45                                    -0.744 0.456901    
age_category46-55                                    -1.292 0.196370    
age_category56-65                                    -2.846 0.004436 ** 
age_category66-70                                    -2.572 0.010123 *  
age_category71-75                                    -3.653 0.000261 ***
age_category76-80                                    -2.238 0.025218 *  
age_category81-85                                    -0.989 0.322477    
age_category86-90                                    -0.232 0.816725    
Ethnicity_collapsedMixed or multiple ethnic origins  -2.507 0.012188 *  
Ethnicity_collapsedAsian or Asian British             0.051 0.959150    
Ethnicity_collapsedAfrican or African British        -1.157 0.247332    
Ethnicity_collapsedOther                             -0.366 0.714289    
time_diff_sign_up_coping                              3.042 0.002358 ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.452 on 9055 degrees of freedom
  (15829 observations deleted due to missingness)
Multiple R-squared:  0.01895,   Adjusted R-squared:  0.01646 
F-statistic: 7.604 on 23 and 9055 DF,  p-value: < 2.2e-16

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = gad.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-23.6219  -2.8886  -0.0938   3.2787  19.6111 

Coefficients:
                                                                                                                           Estimate
(Intercept)                                                                                                               2.0782872
anxiety_disordersAnxiety disorder                                                                                         0.1815931
depressive_disordersDepressive disorder                                                                                   0.0733864
eating_disordersEating disorder                                                                                           0.3448024
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.2999922
psychotic_disordersPsychotic disorder                                                                                     0.0959108
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.2381383
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.5132803
autism_spectrum_disorderAutism spectrum disorder                                                                          0.2777635
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.3826127
mhd.personality_disorderPersonality disorder                                                                              0.3746006
Gender_collapsedFemale                                                                                                    0.6886459
Gender_collapsedNon-binary/Self-defined                                                                                  -0.8070405
age_category19-25                                                                                                         0.8269721
age_category26-35                                                                                                         0.1269595
age_category36-45                                                                                                        -0.2500463
age_category46-55                                                                                                        -0.4075018
age_category56-65                                                                                                        -0.9270743
age_category66-70                                                                                                        -1.1014254
age_category71-75                                                                                                        -1.7639100
age_category76-80                                                                                                        -2.0096825
age_category81-85                                                                                                        -2.9007806
age_category86-90                                                                                                        -0.9800629
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      -0.9308703
Ethnicity_collapsedAsian or Asian British                                                                                 0.0008985
Ethnicity_collapsedAfrican or African British                                                                            -1.2935582
Ethnicity_collapsedOther                                                                                                 -0.2744461
time_diff_sign_up_coping                                                                                                  0.0093649
                                                                                                                         Std. Error
(Intercept)                                                                                                               0.4227475
anxiety_disordersAnxiety disorder                                                                                         0.1849760
depressive_disordersDepressive disorder                                                                                   0.2053957
eating_disordersEating disorder                                                                                           0.1843561
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.1765023
psychotic_disordersPsychotic disorder                                                                                     0.3552651
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.2460173
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.1673115
autism_spectrum_disorderAutism spectrum disorder                                                                          0.3476291
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.4671534
mhd.personality_disorderPersonality disorder                                                                              0.2331326
Gender_collapsedFemale                                                                                                    0.1705027
Gender_collapsedNon-binary/Self-defined                                                                                   0.4528068
age_category19-25                                                                                                         0.3678702
age_category26-35                                                                                                         0.3558977
age_category36-45                                                                                                         0.3610055
age_category46-55                                                                                                         0.3607328
age_category56-65                                                                                                         0.3735867
age_category66-70                                                                                                         0.4952292
age_category71-75                                                                                                         0.6090104
age_category76-80                                                                                                         1.1109435
age_category81-85                                                                                                         3.1920270
age_category86-90                                                                                                         5.5195314
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.4039576
Ethnicity_collapsedAsian or Asian British                                                                                 0.6805633
Ethnicity_collapsedAfrican or African British                                                                             1.0058344
Ethnicity_collapsedOther                                                                                                  0.6257476
time_diff_sign_up_coping                                                                                                  0.0025955
                                                                                                                         t value
(Intercept)                                                                                                                4.916
anxiety_disordersAnxiety disorder                                                                                          0.982
depressive_disordersDepressive disorder                                                                                    0.357
eating_disordersEating disorder                                                                                            1.870
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.700
psychotic_disordersPsychotic disorder                                                                                      0.270
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.968
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                3.068
autism_spectrum_disorderAutism spectrum disorder                                                                           0.799
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.819
mhd.personality_disorderPersonality disorder                                                                               1.607
Gender_collapsedFemale                                                                                                     4.039
Gender_collapsedNon-binary/Self-defined                                                                                   -1.782
age_category19-25                                                                                                          2.248
age_category26-35                                                                                                          0.357
age_category36-45                                                                                                         -0.693
age_category46-55                                                                                                         -1.130
age_category56-65                                                                                                         -2.482
age_category66-70                                                                                                         -2.224
age_category71-75                                                                                                         -2.896
age_category76-80                                                                                                         -1.809
age_category81-85                                                                                                         -0.909
age_category86-90                                                                                                         -0.178
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       -2.304
Ethnicity_collapsedAsian or Asian British                                                                                  0.001
Ethnicity_collapsedAfrican or African British                                                                             -1.286
Ethnicity_collapsedOther                                                                                                  -0.439
time_diff_sign_up_coping                                                                                                   3.608
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              8.99e-07
anxiety_disordersAnxiety disorder                                                                                         0.32627
depressive_disordersDepressive disorder                                                                                   0.72088
eating_disordersEating disorder                                                                                           0.06148
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.08923
psychotic_disordersPsychotic disorder                                                                                     0.78719
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.33308
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.00216
autism_spectrum_disorderAutism spectrum disorder                                                                          0.42430
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.41279
mhd.personality_disorderPersonality disorder                                                                              0.10813
Gender_collapsedFemale                                                                                                   5.42e-05
Gender_collapsedNon-binary/Self-defined                                                                                   0.07473
age_category19-25                                                                                                         0.02460
age_category26-35                                                                                                         0.72130
age_category36-45                                                                                                         0.48856
age_category46-55                                                                                                         0.25866
age_category56-65                                                                                                         0.01310
age_category66-70                                                                                                         0.02617
age_category71-75                                                                                                         0.00378
age_category76-80                                                                                                         0.07049
age_category81-85                                                                                                         0.36350
age_category86-90                                                                                                         0.85907
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.02123
Ethnicity_collapsedAsian or Asian British                                                                                 0.99895
Ethnicity_collapsedAfrican or African British                                                                             0.19846
Ethnicity_collapsedOther                                                                                                  0.66097
time_diff_sign_up_coping                                                                                                  0.00031
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                          .  
obsessive_compulsive_disordersObsessive compulsive disorder                                                              .  
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ** 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                                
Gender_collapsedFemale                                                                                                   ***
Gender_collapsedNon-binary/Self-defined                                                                                  .  
age_category19-25                                                                                                        *  
age_category26-35                                                                                                           
age_category36-45                                                                                                           
age_category46-55                                                                                                           
age_category56-65                                                                                                        *  
age_category66-70                                                                                                        *  
age_category71-75                                                                                                        ** 
age_category76-80                                                                                                        .  
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      *  
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.494 on 8538 degrees of freedom
  (16342 observations deleted due to missingness)
Multiple R-squared:  0.02047,   Adjusted R-squared:  0.01737 
F-statistic: 6.607 on 27 and 8538 DF,  p-value: < 2.2e-16

PHQ

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = phq.diff_score_base_retro ~ Disorder_hierarchical, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-27.9308  -2.9308  -0.6508   3.0692  23.9686 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                3.03144    0.07111  42.629  < 2e-16
Disorder_hierarchicalAnxiety disorders     0.61940    0.16198   3.824 0.000132
Disorder_hierarchicalEating disorders      0.97555    0.44552   2.190 0.028559
Disorder_hierarchicalOCDs                  1.06700    0.38520   2.770 0.005611
Disorder_hierarchicalPTSD                  1.10570    0.40388   2.738 0.006193
Disorder_hierarchicalDepressive disorders  0.89941    0.08525  10.550  < 2e-16
Disorder_hierarchicalBipolar disorders     0.81850    0.19168   4.270 1.96e-05
                                             
(Intercept)                               ***
Disorder_hierarchicalAnxiety disorders    ***
Disorder_hierarchicalEating disorders     *  
Disorder_hierarchicalOCDs                 ** 
Disorder_hierarchicalPTSD                 ** 
Disorder_hierarchicalDepressive disorders ***
Disorder_hierarchicalBipolar disorders    ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.259 on 20662 degrees of freedom
  (4239 observations deleted due to missingness)
Multiple R-squared:  0.005567,  Adjusted R-squared:  0.005278 
F-statistic: 19.28 on 6 and 20662 DF,  p-value: < 2.2e-16

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = phq.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-27.8330  -2.8259  -0.3988   2.8920  23.8920 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                               3.10802
anxiety_disordersAnxiety disorder                                                                                         0.42711
depressive_disordersDepressive disorder                                                                                   0.29081
eating_disordersEating disorder                                                                                           0.74934
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.15814
psychotic_disordersPsychotic disorder                                                                                    -0.59081
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.17583
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.59786
autism_spectrum_disorderAutism spectrum disorder                                                                          0.44994
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.03532
mhd.personality_disorderPersonality disorder                                                                              0.28725
                                                                                                                         Std. Error
(Intercept)                                                                                                                 0.06259
anxiety_disordersAnxiety disorder                                                                                           0.09105
depressive_disordersDepressive disorder                                                                                     0.09244
eating_disordersEating disorder                                                                                             0.13787
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.13569
psychotic_disordersPsychotic disorder                                                                                       0.26831
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.19634
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 0.12721
autism_spectrum_disorderAutism spectrum disorder                                                                            0.24353
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    0.32129
mhd.personality_disorderPersonality disorder                                                                                0.18024
                                                                                                                         t value
(Intercept)                                                                                                               49.660
anxiety_disordersAnxiety disorder                                                                                          4.691
depressive_disordersDepressive disorder                                                                                    3.146
eating_disordersEating disorder                                                                                            5.435
obsessive_compulsive_disordersObsessive compulsive disorder                                                                1.165
psychotic_disordersPsychotic disorder                                                                                     -2.202
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.896
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                4.700
autism_spectrum_disorderAutism spectrum disorder                                                                           1.848
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.110
mhd.personality_disorderPersonality disorder                                                                               1.594
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               < 2e-16
anxiety_disordersAnxiety disorder                                                                                        2.73e-06
depressive_disordersDepressive disorder                                                                                   0.00166
eating_disordersEating disorder                                                                                          5.54e-08
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.24384
psychotic_disordersPsychotic disorder                                                                                     0.02768
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.37050
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              2.62e-06
autism_spectrum_disorderAutism spectrum disorder                                                                          0.06468
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.91248
mhd.personality_disorderPersonality disorder                                                                              0.11102
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                  ** 
eating_disordersEating disorder                                                                                          ***
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                    *  
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                         .  
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                                
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.243 on 20430 degrees of freedom
  (4467 observations deleted due to missingness)
Multiple R-squared:  0.009929,  Adjusted R-squared:  0.009444 
F-statistic: 20.49 on 10 and 20430 DF,  p-value: < 2.2e-16

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = phq.diff_score_base_retro ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-26.353  -3.084  -0.037   3.312  23.129 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                          2.747032   0.635606
Disorder_hierarchicalAnxiety disorders               0.349791   0.605087
Disorder_hierarchicalEating disorders                1.358251   0.941297
Disorder_hierarchicalOCDs                            0.084122   0.804945
Disorder_hierarchicalPTSD                            0.942246   0.952625
Disorder_hierarchicalDepressive disorders            0.797691   0.549297
Disorder_hierarchicalBipolar disorders               0.736528   0.591278
Gender_collapsedFemale                               0.572804   0.162448
Gender_collapsedNon-binary/Self-defined             -0.590969   0.440510
age_category19-25                                   -0.056377   0.357349
age_category26-35                                   -0.810312   0.345869
age_category36-45                                   -1.101321   0.351104
age_category46-55                                   -1.175074   0.349846
age_category56-65                                   -1.766504   0.363071
age_category66-70                                   -2.004470   0.484709
age_category71-75                                   -2.858523   0.600450
age_category76-80                                   -2.438534   1.071627
age_category81-85                                   -2.531984   2.562506
age_category86-90                                   -3.187480   5.696482
Ethnicity_collapsedMixed or multiple ethnic origins -0.387164   0.393495
Ethnicity_collapsedAsian or Asian British           -0.838492   0.652396
Ethnicity_collapsedAfrican or African British        0.046788   0.977261
Ethnicity_collapsedOther                            -0.645454   0.612486
time_diff_sign_up_coping                             0.012233   0.002471
                                                    t value Pr(>|t|)    
(Intercept)                                           4.322 1.56e-05 ***
Disorder_hierarchicalAnxiety disorders                0.578 0.563221    
Disorder_hierarchicalEating disorders                 1.443 0.149066    
Disorder_hierarchicalOCDs                             0.105 0.916770    
Disorder_hierarchicalPTSD                             0.989 0.322637    
Disorder_hierarchicalDepressive disorders             1.452 0.146478    
Disorder_hierarchicalBipolar disorders                1.246 0.212922    
Gender_collapsedFemale                                3.526 0.000424 ***
Gender_collapsedNon-binary/Self-defined              -1.342 0.179772    
age_category19-25                                    -0.158 0.874646    
age_category26-35                                    -2.343 0.019159 *  
age_category36-45                                    -3.137 0.001714 ** 
age_category46-55                                    -3.359 0.000786 ***
age_category56-65                                    -4.865 1.16e-06 ***
age_category66-70                                    -4.135 3.57e-05 ***
age_category71-75                                    -4.761 1.96e-06 ***
age_category76-80                                    -2.276 0.022896 *  
age_category81-85                                    -0.988 0.323134    
age_category86-90                                    -0.560 0.575798    
Ethnicity_collapsedMixed or multiple ethnic origins  -0.984 0.325185    
Ethnicity_collapsedAsian or Asian British            -1.285 0.198737    
Ethnicity_collapsedAfrican or African British         0.048 0.961816    
Ethnicity_collapsedOther                             -1.054 0.291990    
time_diff_sign_up_coping                              4.949 7.57e-07 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.682 on 9400 degrees of freedom
  (15484 observations deleted due to missingness)
Multiple R-squared:  0.01621,   Adjusted R-squared:  0.0138 
F-statistic: 6.733 on 23 and 9400 DF,  p-value: < 2.2e-16

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = phq.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
     Min       1Q   Median       3Q      Max 
-26.0946  -3.1351   0.0016   3.2936  23.2942 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                               3.221749
anxiety_disordersAnxiety disorder                                                                                        -0.272633
depressive_disordersDepressive disorder                                                                                   0.293564
eating_disordersEating disorder                                                                                           0.475127
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.182344
psychotic_disordersPsychotic disorder                                                                                    -0.351463
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.163093
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.590107
autism_spectrum_disorderAutism spectrum disorder                                                                          0.081418
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.445841
mhd.personality_disorderPersonality disorder                                                                              0.358913
Gender_collapsedFemale                                                                                                    0.512318
Gender_collapsedNon-binary/Self-defined                                                                                  -0.834626
age_category19-25                                                                                                        -0.054971
age_category26-35                                                                                                        -0.804721
age_category36-45                                                                                                        -1.068870
age_category46-55                                                                                                        -1.110643
age_category56-65                                                                                                        -1.767604
age_category66-70                                                                                                        -1.857868
age_category71-75                                                                                                        -2.528671
age_category76-80                                                                                                        -2.467870
age_category81-85                                                                                                        -2.297814
age_category86-90                                                                                                        -2.399273
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      -0.404480
Ethnicity_collapsedAsian or Asian British                                                                                -0.777532
Ethnicity_collapsedAfrican or African British                                                                            -0.243321
Ethnicity_collapsedOther                                                                                                 -0.618948
time_diff_sign_up_coping                                                                                                  0.014818
                                                                                                                         Std. Error
(Intercept)                                                                                                                0.414520
anxiety_disordersAnxiety disorder                                                                                          0.184618
depressive_disordersDepressive disorder                                                                                    0.211007
eating_disordersEating disorder                                                                                            0.187168
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.179592
psychotic_disordersPsychotic disorder                                                                                      0.362726
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.251488
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.171877
autism_spectrum_disorderAutism spectrum disorder                                                                           0.348890
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.474969
mhd.personality_disorderPersonality disorder                                                                               0.234583
Gender_collapsedFemale                                                                                                     0.171086
Gender_collapsedNon-binary/Self-defined                                                                                    0.452351
age_category19-25                                                                                                          0.357780
age_category26-35                                                                                                          0.346317
age_category36-45                                                                                                          0.352538
age_category46-55                                                                                                          0.352161
age_category56-65                                                                                                          0.366597
age_category66-70                                                                                                          0.492652
age_category71-75                                                                                                          0.629484
age_category76-80                                                                                                          1.089878
age_category81-85                                                                                                          2.566716
age_category86-90                                                                                                          5.714807
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.405841
Ethnicity_collapsedAsian or Asian British                                                                                  0.666190
Ethnicity_collapsedAfrican or African British                                                                              1.041852
Ethnicity_collapsedOther                                                                                                   0.617465
time_diff_sign_up_coping                                                                                                   0.002618
                                                                                                                         t value
(Intercept)                                                                                                                7.772
anxiety_disordersAnxiety disorder                                                                                         -1.477
depressive_disordersDepressive disorder                                                                                    1.391
eating_disordersEating disorder                                                                                            2.539
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -1.015
psychotic_disordersPsychotic disorder                                                                                     -0.969
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.649
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                3.433
autism_spectrum_disorderAutism spectrum disorder                                                                           0.233
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   0.939
mhd.personality_disorderPersonality disorder                                                                               1.530
Gender_collapsedFemale                                                                                                     2.995
Gender_collapsedNon-binary/Self-defined                                                                                   -1.845
age_category19-25                                                                                                         -0.154
age_category26-35                                                                                                         -2.324
age_category36-45                                                                                                         -3.032
age_category46-55                                                                                                         -3.154
age_category56-65                                                                                                         -4.822
age_category66-70                                                                                                         -3.771
age_category71-75                                                                                                         -4.017
age_category76-80                                                                                                         -2.264
age_category81-85                                                                                                         -0.895
age_category86-90                                                                                                         -0.420
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       -0.997
Ethnicity_collapsedAsian or Asian British                                                                                 -1.167
Ethnicity_collapsedAfrican or African British                                                                             -0.234
Ethnicity_collapsedOther                                                                                                  -1.002
time_diff_sign_up_coping                                                                                                   5.660
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              8.57e-15
anxiety_disordersAnxiety disorder                                                                                        0.139780
depressive_disordersDepressive disorder                                                                                  0.164183
eating_disordersEating disorder                                                                                          0.011150
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.309978
psychotic_disordersPsychotic disorder                                                                                    0.332597
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.516669
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              0.000599
autism_spectrum_disorderAutism spectrum disorder                                                                         0.815486
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.347923
mhd.personality_disorderPersonality disorder                                                                             0.126051
Gender_collapsedFemale                                                                                                   0.002756
Gender_collapsedNon-binary/Self-defined                                                                                  0.065058
age_category19-25                                                                                                        0.877893
age_category26-35                                                                                                        0.020166
age_category36-45                                                                                                        0.002437
age_category46-55                                                                                                        0.001617
age_category56-65                                                                                                        1.45e-06
age_category66-70                                                                                                        0.000164
age_category71-75                                                                                                        5.94e-05
age_category76-80                                                                                                        0.023576
age_category81-85                                                                                                        0.370686
age_category86-90                                                                                                        0.674617
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      0.318963
Ethnicity_collapsedAsian or Asian British                                                                                0.243188
Ethnicity_collapsedAfrican or African British                                                                            0.815343
Ethnicity_collapsedOther                                                                                                 0.316177
time_diff_sign_up_coping                                                                                                 1.56e-08
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                          *  
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                                
Gender_collapsedFemale                                                                                                   ** 
Gender_collapsedNon-binary/Self-defined                                                                                  .  
age_category19-25                                                                                                           
age_category26-35                                                                                                        *  
age_category36-45                                                                                                        ** 
age_category46-55                                                                                                        ** 
age_category56-65                                                                                                        ***
age_category66-70                                                                                                        ***
age_category71-75                                                                                                        ***
age_category76-80                                                                                                        *  
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 5.69 on 8857 degrees of freedom
  (16023 observations deleted due to missingness)
Multiple R-squared:  0.01898,   Adjusted R-squared:  0.01599 
F-statistic: 6.346 on 27 and 8857 DF,  p-value: < 2.2e-16

PCL

++MD: Not sure if this is how we want to run the PCL regression - the outcome variable I’ve included is “How many PCL items the participants report are related to the pandemic”, but I think we might want a more nuanced approach than this.

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = pcl.sum_score_retro ~ Disorder_hierarchical, data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-2.0652 -1.2268 -0.2268  1.0593  4.7732 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                1.22675    0.01927  63.653  < 2e-16
Disorder_hierarchicalAnxiety disorders     0.56265    0.04477  12.568  < 2e-16
Disorder_hierarchicalEating disorders      0.45182    0.12341   3.661 0.000252
Disorder_hierarchicalOCDs                  0.68074    0.10662   6.385 1.75e-10
Disorder_hierarchicalPTSD                  0.72112    0.11046   6.528 6.80e-11
Disorder_hierarchicalDepressive disorders  0.71396    0.02330  30.642  < 2e-16
Disorder_hierarchicalBipolar disorders     0.83849    0.05294  15.840  < 2e-16
                                             
(Intercept)                               ***
Disorder_hierarchicalAnxiety disorders    ***
Disorder_hierarchicalEating disorders     ***
Disorder_hierarchicalOCDs                 ***
Disorder_hierarchicalPTSD                 ***
Disorder_hierarchicalDepressive disorders ***
Disorder_hierarchicalBipolar disorders    ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 1.58 on 24433 degrees of freedom
  (468 observations deleted due to missingness)
Multiple R-squared:  0.03915,   Adjusted R-squared:  0.03892 
F-statistic: 165.9 on 6 and 24433 DF,  p-value: < 2.2e-16

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = pcl.sum_score_retro ~ anxiety_disorders + depressive_disorders + 
    eating_disorders + obsessive_compulsive_disorders + psychotic_disorders + 
    mhd.mania_hypomania_bipolar_or_manicdepression + mhd.posttraumatic_stress_disorder_ptsd + 
    autism_spectrum_disorder + mhd.attention_deficit_hyperactivity_disorder + 
    mhd.personality_disorder, data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-2.5854 -1.2699 -0.2699  1.0070  4.7322 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                               1.26986
anxiety_disordersAnxiety disorder                                                                                         0.45681
depressive_disordersDepressive disorder                                                                                   0.26633
eating_disordersEating disorder                                                                                           0.13491
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.12603
psychotic_disordersPsychotic disorder                                                                                     0.03768
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.09890
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.23253
autism_spectrum_disorderAutism spectrum disorder                                                                          0.05866
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.10929
mhd.personality_disorderPersonality disorder                                                                             -0.12807
                                                                                                                         Std. Error
(Intercept)                                                                                                                 0.01699
anxiety_disordersAnxiety disorder                                                                                           0.02519
depressive_disordersDepressive disorder                                                                                     0.02550
eating_disordersEating disorder                                                                                             0.03821
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.03762
psychotic_disordersPsychotic disorder                                                                                       0.07372
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.05434
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 0.03516
autism_spectrum_disorderAutism spectrum disorder                                                                            0.06812
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    0.08911
mhd.personality_disorderPersonality disorder                                                                                0.04959
                                                                                                                         t value
(Intercept)                                                                                                               74.720
anxiety_disordersAnxiety disorder                                                                                         18.133
depressive_disordersDepressive disorder                                                                                   10.444
eating_disordersEating disorder                                                                                            3.531
obsessive_compulsive_disordersObsessive compulsive disorder                                                                3.350
psychotic_disordersPsychotic disorder                                                                                      0.511
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                1.820
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                6.613
autism_spectrum_disorderAutism spectrum disorder                                                                           0.861
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -1.226
mhd.personality_disorderPersonality disorder                                                                              -2.583
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               < 2e-16
anxiety_disordersAnxiety disorder                                                                                         < 2e-16
depressive_disordersDepressive disorder                                                                                   < 2e-16
eating_disordersEating disorder                                                                                          0.000415
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.000808
psychotic_disordersPsychotic disorder                                                                                    0.609285
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.068744
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              3.84e-11
autism_spectrum_disorderAutism spectrum disorder                                                                         0.389220
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.220055
mhd.personality_disorderPersonality disorder                                                                             0.009813
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                  ***
eating_disordersEating disorder                                                                                          ***
obsessive_compulsive_disordersObsessive compulsive disorder                                                              ***
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              .  
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                             ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 1.572 on 24183 degrees of freedom
  (714 observations deleted due to missingness)
Multiple R-squared:  0.0505,    Adjusted R-squared:  0.05011 
F-statistic: 128.6 on 10 and 24183 DF,  p-value: < 2.2e-16

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = pcl.sum_score_retro ~ Disorder_hierarchical + Gender_collapsed + 
    age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-2.7523 -1.2032 -0.1552  0.8796  4.7497 

Coefficients:
                                                      Estimate Std. Error
(Intercept)                                          1.5632845  0.1731320
Disorder_hierarchicalAnxiety disorders               0.1289483  0.1634105
Disorder_hierarchicalEating disorders               -0.0071848  0.2514388
Disorder_hierarchicalOCDs                           -0.0039628  0.2175618
Disorder_hierarchicalPTSD                            0.2269846  0.2525840
Disorder_hierarchicalDepressive disorders            0.1810616  0.1481379
Disorder_hierarchicalBipolar disorders               0.2472251  0.1594262
Gender_collapsedFemale                               0.3911415  0.0436818
Gender_collapsedNon-binary/Self-defined              0.2294314  0.1192377
age_category19-25                                   -0.0737310  0.0991093
age_category26-35                                   -0.0143275  0.0957955
age_category36-45                                   -0.0649526  0.0969362
age_category46-55                                   -0.0901255  0.0965115
age_category56-65                                   -0.0840835  0.0998893
age_category66-70                                   -0.3854855  0.1304224
age_category71-75                                   -0.5750856  0.1587448
age_category76-80                                   -0.2388530  0.2787788
age_category81-85                                    0.0462445  0.6867789
age_category86-90                                   -2.2159287  1.6709526
Ethnicity_collapsedMixed or multiple ethnic origins  0.0567729  0.1074666
Ethnicity_collapsedAsian or Asian British           -0.2279326  0.1820273
Ethnicity_collapsedAfrican or African British        0.5273128  0.2711488
Ethnicity_collapsedOther                            -0.1629790  0.1692824
time_diff_sign_up_coping                             0.0013320  0.0006704
                                                    t value Pr(>|t|)    
(Intercept)                                           9.029  < 2e-16 ***
Disorder_hierarchicalAnxiety disorders                0.789 0.430067    
Disorder_hierarchicalEating disorders                -0.029 0.977204    
Disorder_hierarchicalOCDs                            -0.018 0.985468    
Disorder_hierarchicalPTSD                             0.899 0.368859    
Disorder_hierarchicalDepressive disorders             1.222 0.221639    
Disorder_hierarchicalBipolar disorders                1.551 0.120998    
Gender_collapsedFemale                                8.954  < 2e-16 ***
Gender_collapsedNon-binary/Self-defined               1.924 0.054361 .  
age_category19-25                                    -0.744 0.456931    
age_category26-35                                    -0.150 0.881112    
age_category36-45                                    -0.670 0.502837    
age_category46-55                                    -0.934 0.350411    
age_category56-65                                    -0.842 0.399937    
age_category66-70                                    -2.956 0.003127 ** 
age_category71-75                                    -3.623 0.000293 ***
age_category76-80                                    -0.857 0.391583    
age_category81-85                                     0.067 0.946316    
age_category86-90                                    -1.326 0.184819    
Ethnicity_collapsedMixed or multiple ethnic origins   0.528 0.597313    
Ethnicity_collapsedAsian or Asian British            -1.252 0.210528    
Ethnicity_collapsedAfrican or African British         1.945 0.051832 .  
Ethnicity_collapsedOther                             -0.963 0.335687    
time_diff_sign_up_coping                              1.987 0.046942 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 1.667 on 10977 degrees of freedom
  (13907 observations deleted due to missingness)
Multiple R-squared:  0.01272,   Adjusted R-squared:  0.01065 
F-statistic:  6.15 on 23 and 10977 DF,  p-value: < 2.2e-16

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = pcl.sum_score_retro ~ anxiety_disorders + depressive_disorders + 
    eating_disorders + obsessive_compulsive_disorders + psychotic_disorders + 
    mhd.mania_hypomania_bipolar_or_manicdepression + mhd.posttraumatic_stress_disorder_ptsd + 
    autism_spectrum_disorder + mhd.attention_deficit_hyperactivity_disorder + 
    mhd.personality_disorder + Gender_collapsed + age_category + 
    Ethnicity_collapsed + time_diff_sign_up_coping, data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-2.9538 -1.2530 -0.1589  0.9116  4.7080 

Coefficients:
                                                                                                                           Estimate
(Intercept)                                                                                                               1.4569107
anxiety_disordersAnxiety disorder                                                                                         0.2032427
depressive_disordersDepressive disorder                                                                                   0.0516561
eating_disordersEating disorder                                                                                           0.0486715
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.1012359
psychotic_disordersPsychotic disorder                                                                                     0.0785184
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.0447840
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.2277091
autism_spectrum_disorderAutism spectrum disorder                                                                         -0.0744730
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) -0.0869718
mhd.personality_disorderPersonality disorder                                                                             -0.1222315
Gender_collapsedFemale                                                                                                    0.3807678
Gender_collapsedNon-binary/Self-defined                                                                                   0.1681756
age_category19-25                                                                                                        -0.0546719
age_category26-35                                                                                                        -0.0124179
age_category36-45                                                                                                        -0.0587255
age_category46-55                                                                                                        -0.0819404
age_category56-65                                                                                                        -0.0349967
age_category66-70                                                                                                        -0.3345448
age_category71-75                                                                                                        -0.5784888
age_category76-80                                                                                                        -0.1752623
age_category81-85                                                                                                         0.0448085
age_category86-90                                                                                                        -2.2349352
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.0814193
Ethnicity_collapsedAsian or Asian British                                                                                -0.2215516
Ethnicity_collapsedAfrican or African British                                                                             0.6144206
Ethnicity_collapsedOther                                                                                                 -0.1508961
time_diff_sign_up_coping                                                                                                  0.0017778
                                                                                                                         Std. Error
(Intercept)                                                                                                               0.1142334
anxiety_disordersAnxiety disorder                                                                                         0.0502299
depressive_disordersDepressive disorder                                                                                   0.0570773
eating_disordersEating disorder                                                                                           0.0505311
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.0486641
psychotic_disordersPsychotic disorder                                                                                     0.0974940
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.0680866
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.0464483
autism_spectrum_disorderAutism spectrum disorder                                                                          0.0961368
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.1285294
mhd.personality_disorderPersonality disorder                                                                              0.0628539
Gender_collapsedFemale                                                                                                    0.0461047
Gender_collapsedNon-binary/Self-defined                                                                                   0.1224322
age_category19-25                                                                                                         0.0993256
age_category26-35                                                                                                         0.0960562
age_category36-45                                                                                                         0.0974630
age_category46-55                                                                                                         0.0971912
age_category56-65                                                                                                         0.1008707
age_category66-70                                                                                                         0.1331358
age_category71-75                                                                                                         0.1654595
age_category76-80                                                                                                         0.2861543
age_category81-85                                                                                                         0.6887724
age_category86-90                                                                                                         1.6779410
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       0.1107656
Ethnicity_collapsedAsian or Asian British                                                                                 0.1857953
Ethnicity_collapsedAfrican or African British                                                                             0.2917366
Ethnicity_collapsedOther                                                                                                  0.1716390
time_diff_sign_up_coping                                                                                                  0.0007109
                                                                                                                         t value
(Intercept)                                                                                                               12.754
anxiety_disordersAnxiety disorder                                                                                          4.046
depressive_disordersDepressive disorder                                                                                    0.905
eating_disordersEating disorder                                                                                            0.963
obsessive_compulsive_disordersObsessive compulsive disorder                                                                2.080
psychotic_disordersPsychotic disorder                                                                                      0.805
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.658
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                4.902
autism_spectrum_disorderAutism spectrum disorder                                                                          -0.775
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  -0.677
mhd.personality_disorderPersonality disorder                                                                              -1.945
Gender_collapsedFemale                                                                                                     8.259
Gender_collapsedNon-binary/Self-defined                                                                                    1.374
age_category19-25                                                                                                         -0.550
age_category26-35                                                                                                         -0.129
age_category36-45                                                                                                         -0.603
age_category46-55                                                                                                         -0.843
age_category56-65                                                                                                         -0.347
age_category66-70                                                                                                         -2.513
age_category71-75                                                                                                         -3.496
age_category76-80                                                                                                         -0.612
age_category81-85                                                                                                          0.065
age_category86-90                                                                                                         -1.332
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        0.735
Ethnicity_collapsedAsian or Asian British                                                                                 -1.192
Ethnicity_collapsedAfrican or African British                                                                              2.106
Ethnicity_collapsedOther                                                                                                  -0.879
time_diff_sign_up_coping                                                                                                   2.501
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               < 2e-16
anxiety_disordersAnxiety disorder                                                                                        5.24e-05
depressive_disordersDepressive disorder                                                                                  0.365476
eating_disordersEating disorder                                                                                          0.335470
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.037523
psychotic_disordersPsychotic disorder                                                                                    0.420627
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.510713
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              9.61e-07
autism_spectrum_disorderAutism spectrum disorder                                                                         0.438561
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.498631
mhd.personality_disorderPersonality disorder                                                                             0.051839
Gender_collapsedFemale                                                                                                    < 2e-16
Gender_collapsedNon-binary/Self-defined                                                                                  0.169589
age_category19-25                                                                                                        0.582036
age_category26-35                                                                                                        0.897140
age_category36-45                                                                                                        0.546826
age_category46-55                                                                                                        0.399200
age_category56-65                                                                                                        0.728638
age_category66-70                                                                                                        0.011992
age_category71-75                                                                                                        0.000474
age_category76-80                                                                                                        0.540237
age_category81-85                                                                                                        0.948131
age_category86-90                                                                                                        0.182906
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      0.462320
Ethnicity_collapsedAsian or Asian British                                                                                0.233112
Ethnicity_collapsedAfrican or African British                                                                            0.035221
Ethnicity_collapsedOther                                                                                                 0.379341
time_diff_sign_up_coping                                                                                                 0.012409
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                              *  
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              ***
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                             .  
Gender_collapsedFemale                                                                                                   ***
Gender_collapsedNon-binary/Self-defined                                                                                     
age_category19-25                                                                                                           
age_category26-35                                                                                                           
age_category36-45                                                                                                           
age_category46-55                                                                                                           
age_category56-65                                                                                                           
age_category66-70                                                                                                        *  
age_category71-75                                                                                                        ***
age_category76-80                                                                                                           
age_category81-85                                                                                                           
age_category86-90                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                         
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                            *  
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 1.672 on 10350 degrees of freedom
  (14530 observations deleted due to missingness)
Multiple R-squared:  0.01901,   Adjusted R-squared:  0.01645 
F-statistic: 7.429 on 27 and 10350 DF,  p-value: < 2.2e-16

OCIR

Model 0a: Disorder_hierarchical, Unadjusted


Call:
lm(formula = ocir.diff_score_base_retro ~ Disorder_hierarchical, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-46.865  -5.733  -0.733   5.267  68.135 

Coefficients:
                                          Estimate Std. Error t value Pr(>|t|)
(Intercept)                                 3.8649     0.3586  10.778  < 2e-16
Disorder_hierarchicalAnxiety disorders     -0.5760     0.6447  -0.893   0.3717
Disorder_hierarchicalEating disorders      -3.7358     1.7449  -2.141   0.0323
Disorder_hierarchicalOCDs                  -2.1799     1.1692  -1.865   0.0623
Disorder_hierarchicalPTSD                  -0.3649     1.3202  -0.276   0.7823
Disorder_hierarchicalDepressive disorders  -4.1318     0.3983 -10.375  < 2e-16
Disorder_hierarchicalBipolar disorders     -3.7129     0.6694  -5.547 3.07e-08
                                             
(Intercept)                               ***
Disorder_hierarchicalAnxiety disorders       
Disorder_hierarchicalEating disorders     *  
Disorder_hierarchicalOCDs                 .  
Disorder_hierarchicalPTSD                    
Disorder_hierarchicalDepressive disorders ***
Disorder_hierarchicalBipolar disorders    ***
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 9.508 on 4466 degrees of freedom
  (20435 observations deleted due to missingness)
Multiple R-squared:  0.03019,   Adjusted R-squared:  0.02888 
F-statistic: 23.17 on 6 and 4466 DF,  p-value: < 2.2e-16

Model 0b: Overlapping disorders, Unadjusted


Call:
lm(formula = ocir.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-46.966  -5.562  -0.562   5.322  68.034 

Coefficients:
                                                                                                                         Estimate
(Intercept)                                                                                                               3.96638
anxiety_disordersAnxiety disorder                                                                                        -1.60874
depressive_disordersDepressive disorder                                                                                  -2.79571
eating_disordersEating disorder                                                                                          -0.51616
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.10309
psychotic_disordersPsychotic disorder                                                                                     1.70326
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.07448
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.18818
autism_spectrum_disorderAutism spectrum disorder                                                                          1.99964
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  2.08627
mhd.personality_disorderPersonality disorder                                                                             -0.80969
                                                                                                                         Std. Error
(Intercept)                                                                                                                 0.29207
anxiety_disordersAnxiety disorder                                                                                           0.36905
depressive_disordersDepressive disorder                                                                                     0.37152
eating_disordersEating disorder                                                                                             0.45983
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 0.40610
psychotic_disordersPsychotic disorder                                                                                       0.77576
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 0.63304
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 0.39904
autism_spectrum_disorderAutism spectrum disorder                                                                            0.73766
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    1.04612
mhd.personality_disorderPersonality disorder                                                                                0.54118
                                                                                                                         t value
(Intercept)                                                                                                               13.580
anxiety_disordersAnxiety disorder                                                                                         -4.359
depressive_disordersDepressive disorder                                                                                   -7.525
eating_disordersEating disorder                                                                                           -1.122
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.254
psychotic_disordersPsychotic disorder                                                                                      2.196
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.118
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.472
autism_spectrum_disorderAutism spectrum disorder                                                                           2.711
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   1.994
mhd.personality_disorderPersonality disorder                                                                              -1.496
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                               < 2e-16
anxiety_disordersAnxiety disorder                                                                                        1.34e-05
depressive_disordersDepressive disorder                                                                                  6.34e-14
eating_disordersEating disorder                                                                                           0.26171
obsessive_compulsive_disordersObsessive compulsive disorder                                                               0.79962
psychotic_disordersPsychotic disorder                                                                                     0.02817
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               0.90635
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               0.63725
autism_spectrum_disorderAutism spectrum disorder                                                                          0.00674
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  0.04618
mhd.personality_disorderPersonality disorder                                                                              0.13468
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                        ***
depressive_disordersDepressive disorder                                                                                  ***
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                    *  
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 
autism_spectrum_disorderAutism spectrum disorder                                                                         ** 
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) *  
mhd.personality_disorderPersonality disorder                                                                                
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 9.48 on 4458 degrees of freedom
  (20439 observations deleted due to missingness)
Multiple R-squared:  0.03651,   Adjusted R-squared:  0.03435 
F-statistic: 16.89 on 10 and 4458 DF,  p-value: < 2.2e-16

Model 1a: Disorder hierarchical, Adjusted Model 0a + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = ocir.diff_score_base_retro ~ Disorder_hierarchical + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-39.021  -3.233   0.800   3.907  28.517 

Coefficients:
                                                     Estimate Std. Error
(Intercept)                                         -2.301295   2.127012
Disorder_hierarchicalAnxiety disorders              -1.997297   2.077044
Disorder_hierarchicalEating disorders               -1.398497   3.046122
Disorder_hierarchicalOCDs                           -3.204730   2.349498
Disorder_hierarchicalPTSD                           -4.342363   2.875267
Disorder_hierarchicalDepressive disorders           -2.683155   1.925397
Disorder_hierarchicalBipolar disorders              -3.036852   1.999644
Gender_collapsedFemale                              -0.480960   0.469156
Gender_collapsedNon-binary/Self-defined             -0.194402   1.117732
age_category19-25                                   -0.722793   1.128033
age_category26-35                                   -0.260408   1.098947
age_category36-45                                    1.089622   1.106171
age_category46-55                                    0.733165   1.102508
age_category56-65                                    0.954936   1.133471
age_category66-70                                    2.023443   1.485023
age_category71-75                                    2.704893   1.912563
age_category76-80                                    0.364096   4.239019
Ethnicity_collapsedMixed or multiple ethnic origins  2.388254   1.056242
Ethnicity_collapsedAsian or Asian British            0.034611   2.152971
Ethnicity_collapsedAfrican or African British        1.930811   2.913104
Ethnicity_collapsedOther                             1.193034   1.407652
time_diff_sign_up_coping                            -0.008303   0.006841
                                                    t value Pr(>|t|)  
(Intercept)                                          -1.082   0.2794  
Disorder_hierarchicalAnxiety disorders               -0.962   0.3364  
Disorder_hierarchicalEating disorders                -0.459   0.6462  
Disorder_hierarchicalOCDs                            -1.364   0.1727  
Disorder_hierarchicalPTSD                            -1.510   0.1311  
Disorder_hierarchicalDepressive disorders            -1.394   0.1636  
Disorder_hierarchicalBipolar disorders               -1.519   0.1290  
Gender_collapsedFemale                               -1.025   0.3054  
Gender_collapsedNon-binary/Self-defined              -0.174   0.8619  
age_category19-25                                    -0.641   0.5218  
age_category26-35                                    -0.237   0.8127  
age_category36-45                                     0.985   0.3247  
age_category46-55                                     0.665   0.5061  
age_category56-65                                     0.842   0.3996  
age_category66-70                                     1.363   0.1732  
age_category71-75                                     1.414   0.1574  
age_category76-80                                     0.086   0.9316  
Ethnicity_collapsedMixed or multiple ethnic origins   2.261   0.0239 *
Ethnicity_collapsedAsian or Asian British             0.016   0.9872  
Ethnicity_collapsedAfrican or African British         0.663   0.5075  
Ethnicity_collapsedOther                              0.848   0.3968  
time_diff_sign_up_coping                             -1.214   0.2250  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 7.108 on 1912 degrees of freedom
  (22974 observations deleted due to missingness)
Multiple R-squared:  0.01726,   Adjusted R-squared:  0.006465 
F-statistic: 1.599 on 21 and 1912 DF,  p-value: 0.04144

Model 1b: Overlapping disorders, Adjusted Model 0b + Sex + Age + Ethnicity_collapsed + Time registration and baseline


Call:
lm(formula = ocir.diff_score_base_retro ~ anxiety_disorders + 
    depressive_disorders + eating_disorders + obsessive_compulsive_disorders + 
    psychotic_disorders + mhd.mania_hypomania_bipolar_or_manicdepression + 
    mhd.posttraumatic_stress_disorder_ptsd + autism_spectrum_disorder + 
    mhd.attention_deficit_hyperactivity_disorder + mhd.personality_disorder + 
    Gender_collapsed + age_category + Ethnicity_collapsed + time_diff_sign_up_coping, 
    data = dat.retro)

Residuals:
    Min      1Q  Median      3Q     Max 
-38.850  -3.373   0.766   3.906  28.326 

Coefficients:
                                                                                                                          Estimate
(Intercept)                                                                                                              -4.710242
anxiety_disordersAnxiety disorder                                                                                         0.587032
depressive_disordersDepressive disorder                                                                                  -0.151525
eating_disordersEating disorder                                                                                           0.356054
obsessive_compulsive_disordersObsessive compulsive disorder                                                              -0.109119
psychotic_disordersPsychotic disorder                                                                                     0.290575
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              -0.260605
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              -0.566372
autism_spectrum_disorderAutism spectrum disorder                                                                          0.115139
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)  1.425982
mhd.personality_disorderPersonality disorder                                                                             -0.897205
Gender_collapsedFemale                                                                                                   -0.806433
Gender_collapsedNon-binary/Self-defined                                                                                  -0.855829
age_category19-25                                                                                                        -0.759037
age_category26-35                                                                                                        -0.381593
age_category36-45                                                                                                         1.085880
age_category46-55                                                                                                         0.608046
age_category56-65                                                                                                         0.697354
age_category66-70                                                                                                         1.819031
age_category71-75                                                                                                         2.494614
age_category76-80                                                                                                         0.169522
Ethnicity_collapsedMixed or multiple ethnic origins                                                                       2.597914
Ethnicity_collapsedAsian or Asian British                                                                                -1.230044
Ethnicity_collapsedAfrican or African British                                                                            -0.588629
Ethnicity_collapsedOther                                                                                                  1.438623
time_diff_sign_up_coping                                                                                                 -0.009499
                                                                                                                         Std. Error
(Intercept)                                                                                                                1.308287
anxiety_disordersAnxiety disorder                                                                                          0.607571
depressive_disordersDepressive disorder                                                                                    0.619308
eating_disordersEating disorder                                                                                            0.472244
obsessive_compulsive_disordersObsessive compulsive disorder                                                                0.413876
psychotic_disordersPsychotic disorder                                                                                      0.800909
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                0.629712
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                0.417427
autism_spectrum_disorderAutism spectrum disorder                                                                           0.882918
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   1.291630
mhd.personality_disorderPersonality disorder                                                                               0.536035
Gender_collapsedFemale                                                                                                     0.489708
Gender_collapsedNon-binary/Self-defined                                                                                    1.167250
age_category19-25                                                                                                          1.133869
age_category26-35                                                                                                          1.106507
age_category36-45                                                                                                          1.114622
age_category46-55                                                                                                          1.113313
age_category56-65                                                                                                          1.145622
age_category66-70                                                                                                          1.488092
age_category71-75                                                                                                          1.922471
age_category76-80                                                                                                          4.259473
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        1.069929
Ethnicity_collapsedAsian or Asian British                                                                                  2.390605
Ethnicity_collapsedAfrican or African British                                                                              3.200510
Ethnicity_collapsedOther                                                                                                   1.442074
time_diff_sign_up_coping                                                                                                   0.007127
                                                                                                                         t value
(Intercept)                                                                                                               -3.600
anxiety_disordersAnxiety disorder                                                                                          0.966
depressive_disordersDepressive disorder                                                                                   -0.245
eating_disordersEating disorder                                                                                            0.754
obsessive_compulsive_disordersObsessive compulsive disorder                                                               -0.264
psychotic_disordersPsychotic disorder                                                                                      0.363
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                               -0.414
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                               -1.357
autism_spectrum_disorderAutism spectrum disorder                                                                           0.130
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)   1.104
mhd.personality_disorderPersonality disorder                                                                              -1.674
Gender_collapsedFemale                                                                                                    -1.647
Gender_collapsedNon-binary/Self-defined                                                                                   -0.733
age_category19-25                                                                                                         -0.669
age_category26-35                                                                                                         -0.345
age_category36-45                                                                                                          0.974
age_category46-55                                                                                                          0.546
age_category56-65                                                                                                          0.609
age_category66-70                                                                                                          1.222
age_category71-75                                                                                                          1.298
age_category76-80                                                                                                          0.040
Ethnicity_collapsedMixed or multiple ethnic origins                                                                        2.428
Ethnicity_collapsedAsian or Asian British                                                                                 -0.515
Ethnicity_collapsedAfrican or African British                                                                             -0.184
Ethnicity_collapsedOther                                                                                                   0.998
time_diff_sign_up_coping                                                                                                  -1.333
                                                                                                                         Pr(>|t|)
(Intercept)                                                                                                              0.000326
anxiety_disordersAnxiety disorder                                                                                        0.334075
depressive_disordersDepressive disorder                                                                                  0.806741
eating_disordersEating disorder                                                                                          0.450970
obsessive_compulsive_disordersObsessive compulsive disorder                                                              0.792078
psychotic_disordersPsychotic disorder                                                                                    0.716791
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                              0.679034
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                              0.175006
autism_spectrum_disorderAutism spectrum disorder                                                                         0.896258
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD) 0.269731
mhd.personality_disorderPersonality disorder                                                                             0.094344
Gender_collapsedFemale                                                                                                   0.099778
Gender_collapsedNon-binary/Self-defined                                                                                  0.463530
age_category19-25                                                                                                        0.503311
age_category26-35                                                                                                        0.730238
age_category36-45                                                                                                        0.330079
age_category46-55                                                                                                        0.585023
age_category56-65                                                                                                        0.542791
age_category66-70                                                                                                        0.221717
age_category71-75                                                                                                        0.194585
age_category76-80                                                                                                        0.968258
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      0.015273
Ethnicity_collapsedAsian or Asian British                                                                                0.606942
Ethnicity_collapsedAfrican or African British                                                                            0.854099
Ethnicity_collapsedOther                                                                                                 0.318602
time_diff_sign_up_coping                                                                                                 0.182786
                                                                                                                            
(Intercept)                                                                                                              ***
anxiety_disordersAnxiety disorder                                                                                           
depressive_disordersDepressive disorder                                                                                     
eating_disordersEating disorder                                                                                             
obsessive_compulsive_disordersObsessive compulsive disorder                                                                 
psychotic_disordersPsychotic disorder                                                                                       
mhd.mania_hypomania_bipolar_or_manicdepressionMania, hypomania, bipolar or manic-depression                                 
mhd.posttraumatic_stress_disorder_ptsdPost-traumatic stress disorder (PTSD)                                                 
autism_spectrum_disorderAutism spectrum disorder                                                                            
mhd.attention_deficit_hyperactivity_disorderAttention deficit or attention deficit and hyperactivity disorder (ADD/ADHD)    
mhd.personality_disorderPersonality disorder                                                                             .  
Gender_collapsedFemale                                                                                                   .  
Gender_collapsedNon-binary/Self-defined                                                                                     
age_category19-25                                                                                                           
age_category26-35                                                                                                           
age_category36-45                                                                                                           
age_category46-55                                                                                                           
age_category56-65                                                                                                           
age_category66-70                                                                                                           
age_category71-75                                                                                                           
age_category76-80                                                                                                           
Ethnicity_collapsedMixed or multiple ethnic origins                                                                      *  
Ethnicity_collapsedAsian or Asian British                                                                                   
Ethnicity_collapsedAfrican or African British                                                                               
Ethnicity_collapsedOther                                                                                                    
time_diff_sign_up_coping                                                                                                    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 7.118 on 1833 degrees of freedom
  (23049 observations deleted due to missingness)
Multiple R-squared:  0.02074,   Adjusted R-squared:  0.007382 
F-statistic: 1.553 on 25 and 1833 DF,  p-value: 0.03989

RUBBISH

+++ Everything underneath here is only SCRATCH

Warning: Removed 21566 rows containing non-finite values (stat_count).
Warning: Removed 25135 rows containing non-finite values (stat_count).
Warning: Removed 14046 rows containing non-finite values (stat_count).

Calculate mean change per disorder group Disorders (9) Sex Age (13; RAMP; potentially collapse above 65 depending on group sizes) Ethnicity groups (5; White European, Black (British), Asian, Arab, Mixed)

Calculate a variable PCL pandemic score

If one item is highly endorsed due to pandemic -> exclude in sensitivity analysis

Descriptives for reporting: “How different are these feelings to how you felt before the pandemic?’ on a 5-point scale (much worse, a little worse, no different, a little better, much better).” +++KLP: Discuss during the meeting if we use 3 or 5 categories

Replicate chunk above for retrospective reports. This will only be for people who say that have reported that there is a change in their scores. Discuss if we should include people who reported “no change” as repition of their current GAD, PHQ, PCL report